aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-07 16:58:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-07 16:58:14 +0000
commit99b468e9e2929212cd7c4a98ae1d958e35664385 (patch)
treec7798249f8e35e68f34d8bc545856d9476a7833f /main
parent110a0d168c5d5e378858880d2632f48f9bda1525 (diff)
downloadaports-99b468e9e2929212cd7c4a98ae1d958e35664385.tar.bz2
aports-99b468e9e2929212cd7c4a98ae1d958e35664385.tar.xz
main/lua-posix: renamed from luaposix
Diffstat (limited to 'main')
-rw-r--r--main/lua-posix/APKBUILD (renamed from main/luaposix/APKBUILD)14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/luaposix/APKBUILD b/main/lua-posix/APKBUILD
index 7b85aeafdf..bb90a0c86f 100644
--- a/main/luaposix/APKBUILD
+++ b/main/lua-posix/APKBUILD
@@ -1,17 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=luaposix
+pkgname=lua-posix
+_name=luaposix
pkgver=5.1.4
pkgrel=0
pkgdesc="POSIX library for Lua"
url="http://luaforge.net/projects/luaposix/"
license="MIT"
-depends="uclibc"
+depends="lua"
makedepends="lua-dev"
-source="http://luaforge.net/frs/download.php/3572/$pkgname-$pkgver.tar.gz"
+source="http://luaforge.net/frs/download.php/3572/luaposix-$pkgver.tar.gz"
+replaces="luaposix"
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$_name-$pkgver"
make PREFIX=/usr || return 1
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgver"
make PREFIX=/usr DESTDIR="$pkgdir" install
}