From 6afc551aa3e4c4a17137c370a4d148217f9548f4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 14 Dec 2012 08:00:14 +0000 Subject: testing/lua-lbase64: new aport A base64 library for Lua http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbase64 --- testing/lua-lbase64/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 testing/lua-lbase64/APKBUILD (limited to 'testing/lua-lbase64/APKBUILD') 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 +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" -- cgit v1.2.3