From 6ea5ce68141da139c8f247e2633d801405c4cc5f Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Sat, 31 May 2014 11:17:52 +0000 Subject: testing/lua-lmd5: moved to unmaintained --- unmaintained/lua-lmd5/APKBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 unmaintained/lua-lmd5/APKBUILD (limited to 'unmaintained') diff --git a/unmaintained/lua-lmd5/APKBUILD b/unmaintained/lua-lmd5/APKBUILD new file mode 100644 index 000000000..269f66192 --- /dev/null +++ b/unmaintained/lua-lmd5/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer: Natanael Copa +pkgname=lua-lmd5 +pkgver=5.1.2011.03.24 +pkgrel=0 +pkgdesc="A message digest library for Lua based on OpenSSL" +url="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lmd5" +arch="all" +license="Public Domain" +depends= +makedepends="lua-dev openssl-dev" +install= +subpackages="$pkgname-sha" + +# seems like they just update the upstream source package. Version is found in +# luuid.c +# For date and checksum see: +# http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/release.txt + +source="http://dev.alpinelinux.org/archive/lmd5/lmd5-$pkgver.tar.gz" +#source="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.1/lmd5.tar.gz" + + +_builddir="$srcdir"/md5 + +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + make digests 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/ +} + +sha() { + local cmod=$(pkg-config --variable INSTALL_CMOD lua) + mkdir -p "$subpkgdir"/$cmod + mv "$pkgdir"/$cmod/sha*.so "$subpkgdir"/$cmod/ +} + +md5sums="bc336a560b7b6513982c17eec9692bd6 lmd5-5.1.2011.03.24.tar.gz" -- cgit v1.2.3