summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/lua-base64url/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/lua-base64url/APKBUILD b/testing/lua-base64url/APKBUILD
new file mode 100644
index 0000000000..acc86d087a
--- /dev/null
+++ b/testing/lua-base64url/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=lua-base64url
+pkgver=5.1.20121219
+pkgrel=0
+pkgdesc="A urlsafe base64 library for Lua"
+url="https://github.com/ncopa/lbase64url"
+arch="all"
+license="Public Domain"
+depends=
+makedepends="lua-dev"
+install=
+subpackages=
+source="http://dev.alpinelinux.org/archive/lbase64url/lbase64url-$pkgver.tar.gz"
+
+_builddir="$srcdir"/base64url
+
+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="041e640987a6e5c9bb087d333faba8b9 lbase64url-5.1.20121219.tar.gz"