diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-07 16:49:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-07 16:51:11 +0000 |
commit | f2ee9e1f3213d9839683aefbc5de89e855e0558e (patch) | |
tree | 68f01ac984027dff2ace81f7a1af981ff8ca2a05 | |
parent | acf89a5caba2640697d5b93154d4e8db12605bc4 (diff) | |
download | aports-f2ee9e1f3213d9839683aefbc5de89e855e0558e.tar.bz2 aports-f2ee9e1f3213d9839683aefbc5de89e855e0558e.tar.xz |
main/lua-bitlib: renamed from bitlib and upgrade to version 26
-rw-r--r-- | main/lua-bitlib/APKBUILD (renamed from main/bitlib/APKBUILD) | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/main/bitlib/APKBUILD b/main/lua-bitlib/APKBUILD index 91400afc90..2a434d3e95 100644 --- a/main/bitlib/APKBUILD +++ b/main/lua-bitlib/APKBUILD @@ -1,21 +1,28 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=bitlib -pkgver=25 +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="uclibc lua" +depends="lua" makedepends="lua-dev" subpackages="$pkgname-dev" -source=http://luaforge.net/frs/download.php/3065/bitlib-$pkgver.tar.gz +source="http://luaforge.net/frs/download.php/4231/bitlib-26.tar.gz" +replaces="bitlib" -build() { - cd "$srcdir/$pkgname-$pkgver" +_builddir="$srcdir"/$_name-$pkgver +build() { + cd "$_builddir" ./configure --prefix=/usr make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR="$pkgdir" install } -md5sums="18f124c80c685f2269296a7172e600fe bitlib-25.tar.gz" +md5sums="b76cb74aef951250f8fa7a65f39bb3d8 bitlib-26.tar.gz" |