diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-15 13:51:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-15 13:52:28 +0000 |
commit | 3c793511dcaead8e7d9f8a4da0fd7f7dc9455fed (patch) | |
tree | 2c6f65f4061bce7b46e32038e0ac078871eec87d /testing/lua-augeas | |
parent | eac6a61c2d300e5bae3fabb1ca48948ebb37ce0b (diff) | |
download | aports-3c793511dcaead8e7d9f8a4da0fd7f7dc9455fed.tar.bz2 aports-3c793511dcaead8e7d9f8a4da0fd7f7dc9455fed.tar.xz |
testing/lua-augeas: new aport
Lua bindings for Augeas
http://git.alpinelinux.org/cgit/lua-augeas/
Diffstat (limited to 'testing/lua-augeas')
-rw-r--r-- | testing/lua-augeas/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/lua-augeas/APKBUILD b/testing/lua-augeas/APKBUILD new file mode 100644 index 000000000..f451ca797 --- /dev/null +++ b/testing/lua-augeas/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lua-augeas +pkgver=0.1 +pkgrel=0 +pkgdesc="Lua bindings for Augeas" +url="http://git.alpinelinux.org/cgit/lua-augeas/" +license="LGPL" +depends= +makedepends="lua-dev pkgconfig augeas-dev" +install= +subpackages= +source="http://git.alpinelinux.org/cgit/lua-augeas/snapshot/lua-augeas-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + make CFLAGS="${CFLAGS}" || return 1 +} + +package() { + cd "$_builddir" + install -D augeas.so "$pkgdir"/usr/lib/lua/5.1/augeas.so +} + +md5sums="7b25097b785ee6b2dc09f0bb69a30a6b lua-augeas-0.1.tar.bz2" |