aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua5.1-bitlib/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-06 09:27:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-06 09:32:47 +0000
commitc90505bd32fa92606d1aba972e8f879a66c3be91 (patch)
tree0d0d4dc36af0cfe2cc32dff70cf59eda992c73e5 /main/lua5.1-bitlib/APKBUILD
parent8975a9ad3a73c0a9dee5b0c529d6d8b29c7090b8 (diff)
downloadaports-c90505bd32fa92606d1aba972e8f879a66c3be91.tar.bz2
aports-c90505bd32fa92606d1aba972e8f879a66c3be91.tar.xz
main/lua-bitlib: add support for 5.1 -> 5.3
Diffstat (limited to 'main/lua5.1-bitlib/APKBUILD')
-rw-r--r--main/lua5.1-bitlib/APKBUILD42
1 files changed, 0 insertions, 42 deletions
diff --git a/main/lua5.1-bitlib/APKBUILD b/main/lua5.1-bitlib/APKBUILD
deleted file mode 100644
index 583380d9c9..0000000000
--- a/main/lua5.1-bitlib/APKBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=lua5.1-bitlib
-_name=bitlib
-pkgver=26
-pkgrel=0
-pkgdesc="A lua library providing bitwise operations"
-url="http://luaforge.net/projects/bitli://github.com/LuaDist/bitlib"
-arch="all"
-license="MIT/X11"
-depends=""
-makedepends="lua5.1-dev"
-subpackages=""
-source="lua-bitlib-$pkgver.tar.gz::https://github.com/LuaDist/bitlib/archive/$pkgver.tar.gz"
-replaces="lua-bitlib"
-
-_builddir="$srcdir"/$_name-$pkgver
-
-prepare() {
- cd "$_builddir"
- update_config_sub || return 1
-}
-
-build() {
- cd "$_builddir"
- LUA=lua5.1 \
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install
- rm -f "$pkgdir"/usr/lib/lua/5.1/*a
-}
-
-md5sums="1c5bc4f544d8de7d4d50f0fccda733e8 lua-bitlib-26.tar.gz"
-sha256sums="6f8902067ce1184bdef0e14a240d5e8c1ee56d7fcd59cff2cebe8bb0b9540d4c lua-bitlib-26.tar.gz"
-sha512sums="a9900788b2e7c3f79f0dc7fe5edecd1d1fa4328a4f3d3410be59c303d804dae2e89936d21bb6684dc2b8ffcd2e9b9c339bac214c8a314ab6341dbf67c51445ef lua-bitlib-26.tar.gz"