diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-26 13:27:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-26 13:27:58 +0000 |
commit | 5d9fd5a7285cd943ec99b8c5d1ad07dc74a51009 (patch) | |
tree | b217e59c165afd49dee282af8e08723127a0d862 /main/libxml2/APKBUILD | |
parent | 82ff9aad61186cff808d26023bcacf9906018e19 (diff) | |
download | aports-5d9fd5a7285cd943ec99b8c5d1ad07dc74a51009.tar.bz2 aports-5d9fd5a7285cd943ec99b8c5d1ad07dc74a51009.tar.xz |
main/libxml2: add python bindings
Diffstat (limited to 'main/libxml2/APKBUILD')
-rw-r--r-- | main/libxml2/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD index e610e825cb..e69914ed28 100644 --- a/main/libxml2/APKBUILD +++ b/main/libxml2/APKBUILD @@ -2,13 +2,13 @@ # Maintainer: Carlo Landmeter <clandmeter at gmail> pkgname=libxml2 pkgver=2.7.6 -pkgrel=0 +pkgrel=1 pkgdesc="XML parsing library, version 2" url="http://www.xmlsoft.org/" license="MIT" depends= -makedepends="zlib-dev" -subpackages="$pkgname-doc $pkgname-dev" +makedepends="zlib-dev python-dev" +subpackages="$pkgname-doc $pkgname-dev py-$pkgname:py" source="ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz" build() { @@ -26,4 +26,11 @@ package() { install -Dm644 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="7740a8ec23878a2f50120e1faa2730f2 libxml2-2.7.6.tar.gz" |