diff options
Diffstat (limited to 'testing/lua-zlib')
-rw-r--r-- | testing/lua-zlib/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/lua-zlib/APKBUILD b/testing/lua-zlib/APKBUILD new file mode 100644 index 0000000000..6f319b4864 --- /dev/null +++ b/testing/lua-zlib/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: +# Maintainer: +pkgname=lua-zlib +_name=lzlib +pkgver=0.4 +_ver=$pkgver-work2 +pkgrel=0 +pkgdesc="Lua bindings to the ZLib compression library" +url="http://luaforge.net/projects/lzlib/" +license="MIT" +depends="lua" +makedepends="lua-dev zlib-dev" +install= +subpackages= +source="http://luaforge.net/frs/download.php/3826/lzlib-$_ver.tar.gz" + +_builddir="$srcdir"/$_name-$_ver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + install -Dm755 zlib.so "$pkgdir"/usr/lib/lua/5.1/zlib.so + install -Dm644 gzip.lua "$pkgdir"/usr/share/lua/5.1/gzip.lua +} + +md5sums="9d29ec26d3ccbd86ea4d95dcc602911a lzlib-0.4-work2.tar.gz" |