diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /multilib/lib32-tdb |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-tdb')
-rw-r--r-- | multilib/lib32-tdb/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/multilib/lib32-tdb/PKGBUILD b/multilib/lib32-tdb/PKGBUILD new file mode 100644 index 000000000..db639ad6e --- /dev/null +++ b/multilib/lib32-tdb/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Florian Pritz <flo@xssn.at> + +_pkgbasename=tdb +pkgname=lib32-$_pkgbasename +pkgver=1.2.1 +pkgrel=3 +pkgdesc="A Trivia Database similar to GDBM but allows simultaneous commits (32-bit)" +arch=(x86_64) +license=('GPL3') +url="http://tdb.samba.org/" +depends=(lib32-glibc $_pkgbasename) +makedepends=(gcc-multilib libxslt) +options=(force) +source=(http://samba.org/ftp/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz) +md5sums=('73ea81282a82e5c959d9c082af2d0215') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + ./configure --prefix=/usr \ + --localstatedir=/var \ + --sysconfdir=/etc/samba \ + --libdir=/usr/lib32 \ + --disable-python + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make -j1 DESTDIR="$pkgdir" install + rm -rf "${pkgdir}"/usr/{include,share,bin} +} |