diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-02 11:01:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-02-02 11:01:28 +0000 |
commit | 8cd8343f0074cbf0ca97b61e1cc60b15750b745b (patch) | |
tree | 0e2cf9748d38eaa001f4bce14124f99acdbe6ac8 /main/lua-zlib | |
parent | edb06dc6656b27a846ced3e82b57f5d4643b9e4e (diff) | |
download | aports-8cd8343f0074cbf0ca97b61e1cc60b15750b745b.tar.bz2 aports-8cd8343f0074cbf0ca97b61e1cc60b15750b745b.tar.xz |
main/lua-zlib: moved from testing
Diffstat (limited to 'main/lua-zlib')
-rw-r--r-- | main/lua-zlib/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/lua-zlib/APKBUILD b/main/lua-zlib/APKBUILD new file mode 100644 index 0000000000..6f319b4864 --- /dev/null +++ b/main/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" |