aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-11-17 02:58:57 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-11-17 02:58:57 -0600
commite83f1beee5c10660c4389f7560f8459b0f2d4773 (patch)
tree527f9994d79df7c86fdd719c6ece68fe031696d3 /main/lua/APKBUILD
parent9cb751a3fe07d180a5cce06860430aca3f22b49e (diff)
downloadaports-e83f1beee5c10660c4389f7560f8459b0f2d4773.tar.bz2
aports-e83f1beee5c10660c4389f7560f8459b0f2d4773.tar.xz
Revert "main/lua: install to /lib and /bin instead of /usr/bin and /usr/lib"
Diffstat (limited to 'main/lua/APKBUILD')
-rw-r--r--main/lua/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/lua/APKBUILD b/main/lua/APKBUILD
index 146adf7ff3..90f3009b0e 100644
--- a/main/lua/APKBUILD
+++ b/main/lua/APKBUILD
@@ -2,7 +2,7 @@
pkgname=lua
pkgver=5.1.4_p3
_ver=${pkgver%_p*}
-pkgrel=3
+pkgrel=2
pkgdesc="A powerful light-weight programming language designed for extending applications."
url="http://www.lua.org/"
arch="all"
@@ -38,7 +38,7 @@ build ()
cd src
make CFLAGS=" -DLUA_USE_LINUX $CFLAGS" \
- RPATH="/lib" \
+ RPATH="/usr/lib" \
LIB_LIBS="-lpthread -lm -ldl" \
V=$pkgver \
gentoo_all || return 1
@@ -46,10 +46,9 @@ build ()
package() {
cd "$_builddir"
- make INSTALL_TOP="$pkgdir"/usr INSTALL_LIB="$pkgdir"/lib \
- INSTALL_BIN="$pkgdir"/bin \
+ make INSTALL_TOP="$pkgdir"/usr INSTALL_LIB="$pkgdir"/usr/lib \
V=$pkgver gentoo_install || return 1
- rm "$pkgdir"/lib/*.la || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
install -D -m 644 etc/lua.pc "$pkgdir"/usr/lib/pkgconfig/lua.pc
install -D -m 644 doc/lua.1 "$pkgdir"/usr/share/man/man1/lua.1