blob: 43ef256cb72ba7dcd73f766da7d3fb182355fa95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Márcio Silva <coadde@parabola.nu>
# based of db
_pkgname=db
pkgname=db-static
pkgver=5.3.28
pkgrel=3
pkgdesc="The Berkeley DB embedded database system (static libraries only)"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
license=('custom')
depends=('db')
options=('staticlibs')
source=(http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz)
sha1sums=('fa3f8a41ad5101f43d08bc0efb6241c9b6fc1ae9')
build() {
cd "${srcdir}"/$_pkgname-${pkgver}/build_unix
../dist/configure --prefix=/usr --enable-compat185 \
--disable-shared --enable-static --enable-cxx --enable-dbm \
--enable-stl
make LIBSO_LIBS=-lpthread
}
package() {
cd "${srcdir}"/$_pkgname-${pkgver}/build_unix
make DESTDIR="${pkgdir}" install
rm -r "${pkgdir}"/usr/docs
# remove conflicting files
rm -vr ${pkgdir}/usr/{bin,include}
}
|