diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-16 08:43:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-16 08:43:35 +0000 |
commit | 372f487b0870d7c6ed33ce11aaaef454a5c24e94 (patch) | |
tree | eb8584604a17f57dc5aecb3e02ca1b8fe6469e4b /main/libxml2 | |
parent | ea75deb36fefd46a934d3e4f1fb69ad365f85e97 (diff) | |
download | aports-372f487b0870d7c6ed33ce11aaaef454a5c24e94.tar.bz2 aports-372f487b0870d7c6ed33ce11aaaef454a5c24e94.tar.xz |
main/libxml2: split out the utilities to subpackage
Diffstat (limited to 'main/libxml2')
-rw-r--r-- | main/libxml2/APKBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD index 64944e1343..e093c484c6 100644 --- a/main/libxml2/APKBUILD +++ b/main/libxml2/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: Carlo Landmeter <clandmeter at gmail> pkgname=libxml2 pkgver=2.7.7 -pkgrel=3 +pkgrel=4 pkgdesc="XML parsing library, version 2" url="http://www.xmlsoft.org/" license="MIT" depends= depends_dev="zlib-dev python-dev" makedepends="zlib-dev python-dev" -subpackages="$pkgname-doc $pkgname-dev py-$pkgname:py" +subpackages="$pkgname-doc $pkgname-dev py-$pkgname:py $pkgname-utils" source="ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz largefile64.patch" @@ -45,6 +45,12 @@ py() { mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ } +utils() { + pkgdesc="XML utilities" + replaces="libxml2" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} md5sums="9abc9959823ca9ff904f1fbcf21df066 libxml2-2.7.7.tar.gz 5ad4915665608ebfa5b89f7908467a72 largefile64.patch" |