diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-30 15:52:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-31 11:47:35 +0000 |
commit | 25cbf1fbb752895ee3b95c70c968660c133d622d (patch) | |
tree | 9d7055961cb2a72ca747cd02602374861186a750 /main/talloc | |
parent | 3a1799a6af48fc084c5d9a7bcab1b923f031a1ac (diff) | |
download | aports-25cbf1fbb752895ee3b95c70c968660c133d622d.tar.bz2 aports-25cbf1fbb752895ee3b95c70c968660c133d622d.tar.xz |
main/talloc: enable python, disable gettext
python is neeed for samba4
Diffstat (limited to 'main/talloc')
-rw-r--r-- | main/talloc/APKBUILD | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/main/talloc/APKBUILD b/main/talloc/APKBUILD index 41172c8f52..d5f6470242 100644 --- a/main/talloc/APKBUILD +++ b/main/talloc/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=talloc pkgver=2.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="A memory pool management library" url="http://talloc.samba.org/" arch="all" @@ -10,9 +10,9 @@ license="LGPL3+" depends= depends_dev= replaces="samba-common" -makedepends="$depends_dev gettext-dev" +makedepends="$depends_dev python-dev" install="" -subpackages="$pkgname-dev" +subpackages="$pkgname-dev py-$pkgname:_py" source="http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz always-libs.patch fix-libreplace.patch @@ -35,8 +35,15 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --disable-python \ --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --bundled-libraries=NONE \ + --builtin-libraries=replace \ + --disable-rpath \ + --disable-rpath-install \ + --without-gettext \ || return 1 make || return 1 } @@ -46,6 +53,12 @@ package() { make DESTDIR="$pkgdir" install || return 1 } +_py() { + pkgdesc="Python binding for libtalloc" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ +} + md5sums="85a69bfb5808fcadf378bd9eadb1f9c2 talloc-2.1.0.tar.gz 10304afbc3b00346238bf5a969227c68 always-libs.patch b8c06c1a37bce8a7feea3b6896483da0 fix-libreplace.patch" |