diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-20 09:00:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-20 09:04:52 +0000 |
commit | b7a1306d5eca8672c0223d2e129443bf34831589 (patch) | |
tree | d47418707e6e306eda5f516fb8f6c36f8bf6b3c8 /main/augeas/APKBUILD | |
parent | 29cdd579d0df93ededd1e0f33cfcaa82c0b03c5a (diff) | |
download | aports-b7a1306d5eca8672c0223d2e129443bf34831589.tar.bz2 aports-b7a1306d5eca8672c0223d2e129443bf34831589.tar.xz |
main/augeas: upgrade to 1.0.0 and split out libs
Diffstat (limited to 'main/augeas/APKBUILD')
-rw-r--r-- | main/augeas/APKBUILD | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/main/augeas/APKBUILD b/main/augeas/APKBUILD index c5ee5efabb..5c629a36a9 100644 --- a/main/augeas/APKBUILD +++ b/main/augeas/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=augeas -pkgver=0.10.0 -pkgrel=2 +pkgver=1.0.0 +pkgrel=0 pkgdesc="a configuration editing tool" url="http://augeas.net" arch="all" @@ -10,10 +10,8 @@ depends= depends_dev="libxml2-dev" makedepends="$depends_dev readline-dev" install= -subpackages="$pkgname-dev $pkgname-doc $pkgname-tests" -source="http://augeas.net/download/augeas-$pkgver.tar.gz - regexp.c.patch - augeas-requires-libxml2.patch +subpackages="$pkgname-dev $pkgname-doc $pkgname-tests $pkgname-libs" +source="http://download.augeas.net/augeas-$pkgver.tar.gz " _builddir="$srcdir"/$pkgname-$pkgver @@ -51,6 +49,15 @@ tests() { mv "$pkgdir"/usr/share/augeas/lenses/dist/tests \ "$subpkgdir"/usr/share/augeas/lenses/dist/ } -md5sums="fe1834e90a066c3208ac0214622c7352 augeas-0.10.0.tar.gz -a9f0fe2cd7e6aebf916747207cc2b537 regexp.c.patch -ea212ab45cde19301646b974cc0941e8 augeas-requires-libxml2.patch" + +libs() { + pkgdesc="Libraries for augeas" + mkdir -p "$subpkgdir"/usr/ "$subpkgdir"/usr/share/augeas/ + mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ || return 1 + mv "$pkgdir"/usr/share/augeas/lenses \ + "$subpkgdir"/usr/share/augeas/ || return 1 +} + +md5sums="82131019432ecf8102e1491610ad2dd1 augeas-1.0.0.tar.gz" +sha256sums="31bf757c5b8197765946b3805f3793c32b03cd92a7a77ec95d37e71a1f131912 augeas-1.0.0.tar.gz" +sha512sums="63744d9021e5965d61416beb8193506468e9c79c154e40f3ad46c487d5a26d93f6a31d5b0946d4c5d87e1682e29ee386124a30f9dd6d60621542de456975793a augeas-1.0.0.tar.gz" |