diff options
Diffstat (limited to 'main/lua-bitlib/APKBUILD')
-rw-r--r-- | main/lua-bitlib/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/lua-bitlib/APKBUILD b/main/lua-bitlib/APKBUILD new file mode 100644 index 000000000..2a434d3e9 --- /dev/null +++ b/main/lua-bitlib/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lua-bitlib +_name=bitlib +pkgver=26 +pkgrel=0 +pkgdesc="A lua library providing bitwise operations" +url="http://luaforge.net/projects/bitlib" +license="MIT/X11" +depends="lua" +makedepends="lua-dev" +subpackages="$pkgname-dev" +source="http://luaforge.net/frs/download.php/4231/bitlib-26.tar.gz" +replaces="bitlib" + +_builddir="$srcdir"/$_name-$pkgver + +build() { + cd "$_builddir" + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="b76cb74aef951250f8fa7a65f39bb3d8 bitlib-26.tar.gz" |