aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-md5/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-07 16:54:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-07 16:54:24 +0000
commit110a0d168c5d5e378858880d2632f48f9bda1525 (patch)
tree500851a331bb404abef998c2c68e14e63b7455d0 /main/lua-md5/APKBUILD
parentf2ee9e1f3213d9839683aefbc5de89e855e0558e (diff)
downloadaports-110a0d168c5d5e378858880d2632f48f9bda1525.tar.bz2
aports-110a0d168c5d5e378858880d2632f48f9bda1525.tar.xz
main/lua-md5: renamed from md5
Diffstat (limited to 'main/lua-md5/APKBUILD')
-rw-r--r--main/lua-md5/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/lua-md5/APKBUILD b/main/lua-md5/APKBUILD
new file mode 100644
index 0000000000..79813e53ae
--- /dev/null
+++ b/main/lua-md5/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname="lua-md5"
+_name="md5"
+pkgver=1.1.2
+pkgrel=0
+pkgdesc="Basic cryptographic facilities for Lua"
+url="http://www.keplerproject.org/md5/"
+license="MIT"
+depends="lua"
+makedepends="lua-dev"
+source="http://luaforge.net/frs/download.php/3355/$_name-$pkgver.tar.gz"
+replaces="md5"
+
+build() {
+ cd "$srcdir/$_name-$pkgver"
+ make CFLAGS="$CFLAGS" || return 1
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgver"
+ make PREFIX="$pkgdir"/usr install
+}
+
+md5sums="68874cff64547f2157d5ecdc3572b544 md5-1.1.2.tar.gz"