aboutsummaryrefslogtreecommitdiffstats
path: root/main/augeas/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-05-16 13:56:09 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-05-16 14:00:58 +0000
commit96451241d5f419422cd6df41c47dfb49ee14bfeb (patch)
treea0bf61afbf122e05a6d48f97400eef1f032c431b /main/augeas/APKBUILD
parente4efe8940d71da3a4dfae95b0074e733639b1d5c (diff)
downloadaports-96451241d5f419422cd6df41c47dfb49ee14bfeb.tar.bz2
aports-96451241d5f419422cd6df41c47dfb49ee14bfeb.tar.xz
testing/augeas: move to main
Diffstat (limited to 'main/augeas/APKBUILD')
-rw-r--r--main/augeas/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/augeas/APKBUILD b/main/augeas/APKBUILD
new file mode 100644
index 0000000000..208656195d
--- /dev/null
+++ b/main/augeas/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=augeas
+pkgver=0.7.4
+pkgrel=0
+pkgdesc="a configuration editing tool"
+url="http://augeas.net"
+arch="all"
+license="LGPL"
+depends=
+makedepends="readline-dev"
+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="e3ddce5305a15bdb876ef7feec9214d1 augeas-0.7.4.tar.gz"