diff options
Diffstat (limited to 'main/lua-posix/APKBUILD')
-rw-r--r-- | main/lua-posix/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD new file mode 100644 index 0000000000..14a99af687 --- /dev/null +++ b/main/lua-posix/APKBUILD @@ -0,0 +1,26 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lua-posix +_name=luaposix +pkgver=5.1.11 +pkgrel=0 +pkgdesc="POSIX library for Lua" +url="http://luaforge.net/projects/luaposix/" +arch="all" +license="MIT" +depends="lua" +makedepends="lua-dev" +source="http://luaforge.net/frs/download.php/4813/luaposix-$pkgver.tar.gz" +replaces="luaposix" + +_builddir="$srcdir"/$_name +build() { + cd "$_builddir" + make PREFIX=/usr || return 1 +} + +package() { + cd "$_builddir" + make PREFIX=/usr DESTDIR="$pkgdir" install +} + +md5sums="edb76911dbdabe98dec49e3d8a126227 luaposix-5.1.11.tar.gz" |