aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-crypto/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-17 10:08:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-17 10:10:19 +0000
commit80c202315d658f8aff2f1fc37b6d19602bb0f794 (patch)
tree99164fc23d7925959c46742581ddd25b8561c968 /testing/lua-crypto/APKBUILD
parent5820b6eeb1553df584c4c1cacc21e2a99e33d7e6 (diff)
downloadaports-80c202315d658f8aff2f1fc37b6d19602bb0f794.tar.bz2
aports-80c202315d658f8aff2f1fc37b6d19602bb0f794.tar.xz
main/lua-crypto: new aport
a Lua frontend to the OpenSSL cryptographic library http://luacrypto.luaforge.net/
Diffstat (limited to 'testing/lua-crypto/APKBUILD')
-rw-r--r--testing/lua-crypto/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/lua-crypto/APKBUILD b/testing/lua-crypto/APKBUILD
new file mode 100644
index 0000000000..0aa67ec51c
--- /dev/null
+++ b/testing/lua-crypto/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor:
+# Maintainer:
+pkgname=lua-crypto
+pkgver=0.2.0
+pkgrel=0
+pkgdesc="a Lua frontend to the OpenSSL cryptographic library"
+url="http://luacrypto.luaforge.net/"
+license="MIT/X11"
+depends=
+makedepends="lua-dev openssl-dev"
+install=
+subpackages=
+source="http://luaforge.net/frs/download.php/1722/luacrypto-0.2.0.tar.gz"
+
+_builddir="$srcdir"/luacrypto-$pkgver
+build() {
+ cd "$_builddir"
+ make LUA_VERSION_NUM=510 CFLAGS="$CFLAGS" COMPAT_O=
+}
+
+package() {
+ cd "$_builddir"
+ make COMPAT_O= LUA_LIBDIR="$pkgdir"/usr/lib/lua/5.1 install
+}
+
+md5sums="1e1319d960f0760b113b3e7ad9a3607d luacrypto-0.2.0.tar.gz"