From a74497a7ca22934081da91215be298a55cd10d37 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 30 Aug 2013 13:58:29 +0000 Subject: main/lua5.2-crypto: moved from testing --- main/lua5.2-crypto/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ testing/lua5.2-crypto/APKBUILD | 38 -------------------------------------- 2 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 main/lua5.2-crypto/APKBUILD delete mode 100644 testing/lua5.2-crypto/APKBUILD diff --git a/main/lua5.2-crypto/APKBUILD b/main/lua5.2-crypto/APKBUILD new file mode 100644 index 000000000..6cdb4668a --- /dev/null +++ b/main/lua5.2-crypto/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Natanael Copa +_luaver=5.2 +pkgname=lua$_luaver-crypto +pkgver=0.3.2 +pkgrel=0 +pkgdesc="a Lua frontend to the OpenSSL cryptographic library" +url="http://mkottman.github.io/luacrypto/" +arch="all" +license="MIT/X11" +depends= +makedepends="lua$_luaver-dev openssl-dev" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="luacrypto-$pkgver.tar.gz::https://github.com/mkottman/luacrypto/archive/$pkgver.tar.gz" + +_builddir="$srcdir"/luacrypto-$pkgver +build() { + cd "$_builddir" + LUA_CFLAGS="$(pkg-config lua$_luaver --cflags)" \ + LUA_LIBS="$(pkg-config lua$_luaver --libs)" \ + ./configure \ + --host=$CHOST \ + --build=$CBUILD \ + --prefix=/usr \ + || return 1 + make cryptodir=/usr/lib/lua/$_luaver || return 1 +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" cryptodir=/usr/lib/lua/$_luaver \ + || return 1 + find "$pkgdir" -name '*.la' -delete +} + +md5sums="07271929beec760a42eff012803490a1 luacrypto-0.3.2.tar.gz" +sha256sums="63c5d7e2539779039114335b9a8f149d63382c4db298d69e70488a0108143bb4 luacrypto-0.3.2.tar.gz" +sha512sums="4cb20d2cc348a11f140210dffb803629034c72cc7232590f4488f559d5c7233e0c41e56fcd0863959ac0b07e64c9aa79ea573e4126fdc11bc3f1b3b49d13343e luacrypto-0.3.2.tar.gz" diff --git a/testing/lua5.2-crypto/APKBUILD b/testing/lua5.2-crypto/APKBUILD deleted file mode 100644 index 6cdb4668a..000000000 --- a/testing/lua5.2-crypto/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer: Natanael Copa -_luaver=5.2 -pkgname=lua$_luaver-crypto -pkgver=0.3.2 -pkgrel=0 -pkgdesc="a Lua frontend to the OpenSSL cryptographic library" -url="http://mkottman.github.io/luacrypto/" -arch="all" -license="MIT/X11" -depends= -makedepends="lua$_luaver-dev openssl-dev" -install= -subpackages="$pkgname-dev $pkgname-doc" -source="luacrypto-$pkgver.tar.gz::https://github.com/mkottman/luacrypto/archive/$pkgver.tar.gz" - -_builddir="$srcdir"/luacrypto-$pkgver -build() { - cd "$_builddir" - LUA_CFLAGS="$(pkg-config lua$_luaver --cflags)" \ - LUA_LIBS="$(pkg-config lua$_luaver --libs)" \ - ./configure \ - --host=$CHOST \ - --build=$CBUILD \ - --prefix=/usr \ - || return 1 - make cryptodir=/usr/lib/lua/$_luaver || return 1 -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" cryptodir=/usr/lib/lua/$_luaver \ - || return 1 - find "$pkgdir" -name '*.la' -delete -} - -md5sums="07271929beec760a42eff012803490a1 luacrypto-0.3.2.tar.gz" -sha256sums="63c5d7e2539779039114335b9a8f149d63382c4db298d69e70488a0108143bb4 luacrypto-0.3.2.tar.gz" -sha512sums="4cb20d2cc348a11f140210dffb803629034c72cc7232590f4488f559d5c7233e0c41e56fcd0863959ac0b07e64c9aa79ea573e4126fdc11bc3f1b3b49d13343e luacrypto-0.3.2.tar.gz" -- cgit v1.2.3