aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:37:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:37:47 +0000
commitfb325c5c69d72a9eed14cad33068153c72b60426 (patch)
tree0ef06871aec4bf00bb94043b21f30c1c4808fb25 /main
parent867556634decf41c9303f30cd4dc74c2da7d8f65 (diff)
downloadaports-fb325c5c69d72a9eed14cad33068153c72b60426.tar.bz2
aports-fb325c5c69d72a9eed14cad33068153c72b60426.tar.xz
main/lua-pc: renamed from lpc
Diffstat (limited to 'main')
-rw-r--r--main/lua-pc/APKBUILD (renamed from main/lpc/APKBUILD)9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/lpc/APKBUILD b/main/lua-pc/APKBUILD
index ad303c0ad7..856432058d 100644
--- a/main/lpc/APKBUILD
+++ b/main/lua-pc/APKBUILD
@@ -1,5 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=lpc
+pkgname=lua-pc
+_name=lpc
pkgver=1.0.0
pkgrel=1
pkgdesc="Lua Process Call"
@@ -10,8 +11,12 @@ depends="lua"
source="http://lua.net-core.org/dl/telesto/lpc-$pkgver.tar.gz"
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$_name-$pkgver"
make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -shared"
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgver"
# does not respect DESTDIR
make install PREFIX="$pkgdir"/usr
}