aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-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"