diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-14 09:59:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-14 09:59:21 +0000 |
commit | 62beae3c1b5f7931b683229f18b707a1967e8f4b (patch) | |
tree | 66ea498ec186e3fa5b7f419ff077ad6e24cded5b /testing/augeas | |
parent | aa1b8b51dfc8f17aacfd4570614751bf0998c7e6 (diff) | |
download | aports-62beae3c1b5f7931b683229f18b707a1967e8f4b.tar.bz2 aports-62beae3c1b5f7931b683229f18b707a1967e8f4b.tar.xz |
testing/augeas: new aport
a configuration editing tool
http://augeas.net
Diffstat (limited to 'testing/augeas')
-rw-r--r-- | testing/augeas/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/augeas/APKBUILD b/testing/augeas/APKBUILD new file mode 100644 index 000000000..be060060f --- /dev/null +++ b/testing/augeas/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=augeas +pkgver=0.7.3 +pkgrel=0 +pkgdesc="a configuration editing tool" +url="http://augeas.net" +license="LGPL" +depends= +makedepends= +install= +subpackages="$pkgname-dev $pkgname-doc $pkgname-tests" +source="http://augeas.net/download/augeas-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +tests() { + pkgdesc="Tests for Augeas lenses" + mkdir -p "$subpkgdir"/usr/share/augeas/lenses/dist/ + mv "$pkgdir"/usr/share/augeas/lenses/dist/tests \ + "$subpkgdir"/usr/share/augeas/lenses/dist/ +} +md5sums="d907943fc21c2d1db5dc8d97ec02a9e5 augeas-0.7.3.tar.gz" |