diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-07 16:54:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-07 16:54:24 +0000 |
commit | 110a0d168c5d5e378858880d2632f48f9bda1525 (patch) | |
tree | 500851a331bb404abef998c2c68e14e63b7455d0 | |
parent | f2ee9e1f3213d9839683aefbc5de89e855e0558e (diff) | |
download | aports-110a0d168c5d5e378858880d2632f48f9bda1525.tar.bz2 aports-110a0d168c5d5e378858880d2632f48f9bda1525.tar.xz |
main/lua-md5: renamed from md5
-rw-r--r-- | main/lua-md5/APKBUILD (renamed from main/md5/APKBUILD) | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/md5/APKBUILD b/main/lua-md5/APKBUILD index 93e3747a..79813e53 100644 --- a/main/md5/APKBUILD +++ b/main/lua-md5/APKBUILD @@ -1,18 +1,23 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=md5 +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="uclibc lua" +depends="lua" makedepends="lua-dev" -source="http://luaforge.net/frs/download.php/3355/$pkgname-$pkgver.tar.gz" +source="http://luaforge.net/frs/download.php/3355/$_name-$pkgver.tar.gz" +replaces="md5" build() { - cd "$srcdir/$pkgname-$pkgver" - + cd "$srcdir/$_name-$pkgver" make CFLAGS="$CFLAGS" || return 1 +} + +package() { + cd "$srcdir/$_name-$pkgver" make PREFIX="$pkgdir"/usr install } |