diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-26 13:30:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-26 13:30:08 +0000 |
commit | 08bbe196fd37738e5dbc7769900ac5a9e861fffd (patch) | |
tree | a0182d7a31f48ace9fb707c454437ee26df83443 /main/libxslt | |
parent | 5d9fd5a7285cd943ec99b8c5d1ad07dc74a51009 (diff) | |
download | aports-08bbe196fd37738e5dbc7769900ac5a9e861fffd.tar.bz2 aports-08bbe196fd37738e5dbc7769900ac5a9e861fffd.tar.xz |
main/libxslt: add python bindings
Diffstat (limited to 'main/libxslt')
-rw-r--r-- | main/libxslt/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/main/libxslt/APKBUILD b/main/libxslt/APKBUILD index a7a0887b9..32353ba5e 100644 --- a/main/libxslt/APKBUILD +++ b/main/libxslt/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxslt pkgver=1.1.26 -pkgrel=0 +pkgrel=1 pkgdesc="XML stylesheet transformation library" url="http://xmlsoft.org/XSLT/" license="custom" depends= -makedepends="libxml2-dev libgcrypt-dev libgpg-error-dev python" -subpackages="$pkgname-dev $pkgname-doc" +makedepends="libxml2-dev libgcrypt-dev libgpg-error-dev python-dev" +subpackages="$pkgname-dev $pkgname-doc py-$pkgname:py" source="ftp://xmlsoft.org/$pkgname/$pkgname-$pkgver.tar.gz" build() { @@ -21,4 +21,10 @@ package() { make DESTDIR="$pkgdir" install || return 1 install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } + +py() { + pkgdesc="$pkgname python bindings" + install -d "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ +} md5sums="e61d0364a30146aaa3001296f853b2b9 libxslt-1.1.26.tar.gz" |