aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-lbase64
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-12-14 08:00:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-16 12:52:50 +0000
commit6afc551aa3e4c4a17137c370a4d148217f9548f4 (patch)
tree10e7e444e5184eb49fe7c1ce79fb9a78c0ac36c7 /testing/lua-lbase64
parent6aff57e14948d79bec555d9e4c40a5b4c6e037af (diff)
downloadaports-6afc551aa3e4c4a17137c370a4d148217f9548f4.tar.bz2
aports-6afc551aa3e4c4a17137c370a4d148217f9548f4.tar.xz
testing/lua-lbase64: new aport
A base64 library for Lua http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbase64
Diffstat (limited to 'testing/lua-lbase64')
-rw-r--r--testing/lua-lbase64/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/lua-lbase64/APKBUILD b/testing/lua-lbase64/APKBUILD
new file mode 100644
index 0000000000..21e480a7a4
--- /dev/null
+++ b/testing/lua-lbase64/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=lua-lbase64
+pkgver=5.1.2012.08.20
+pkgrel=0
+pkgdesc="A base64 library for Lua"
+url="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbase64"
+arch="all"
+license="Public Domain"
+depends=
+makedepends="lua-dev"
+install=
+subpackages=
+
+# For date and checksum see:
+# http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/release.txt
+
+source="http://dev.alpinelinux.org/archive/lbase64/lbase64-$pkgver.tar.gz"
+
+_builddir="$srcdir"/base64
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ make LUABIN=/usr/bin || return 1
+}
+
+package() {
+ cd "$_builddir"
+ local cmod=$(pkg-config --variable INSTALL_CMOD lua)
+ mkdir -p "$pkgdir"/$cmod
+ cp -a *.so "$pkgdir"/$cmod/
+}
+
+md5sums="4834045fe79facef524990e968783dab lbase64-5.1.2012.08.20.tar.gz"