aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-30 13:19:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-30 13:19:40 +0000
commit8764f0dad8482831bbcbf3b033468e31701591a1 (patch)
tree5c1a2428699e041eaea915e7c48d92f5d64f284a /main/lua/APKBUILD
parent8b2e1324f5d74bbd603f250ec6df45058dd96ba5 (diff)
downloadaports-8764f0dad8482831bbcbf3b033468e31701591a1.tar.bz2
aports-8764f0dad8482831bbcbf3b033468e31701591a1.tar.xz
main/lua: disable readline
Diffstat (limited to 'main/lua/APKBUILD')
-rw-r--r--main/lua/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/lua/APKBUILD b/main/lua/APKBUILD
index f6377dabce..cd6030d7fd 100644
--- a/main/lua/APKBUILD
+++ b/main/lua/APKBUILD
@@ -2,18 +2,19 @@
pkgname=lua
pkgver=5.1.4_p3
_ver=${pkgver%_p*}
-pkgrel=0
+pkgrel=1
pkgdesc="A powerful light-weight programming language designed for extending applications."
url="http://www.lua.org/"
arch="all"
license="MIT"
depends=
-makedepends="readline-dev libtool"
+makedepends="libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.$pkgname.org/ftp/$pkgname-$_ver.tar.gz
http://www.lua.org/ftp/patch-lua-5.1.4-${pkgver#*_p}
lua-5.1-make.patch
lua-5.1-module_paths.patch
+ lua-5.1-readline.patch
"
_builddir="$srcdir"/lua-$_ver
@@ -38,7 +39,6 @@ build ()
cd src
make CFLAGS=" -DLUA_USE_LINUX $CFLAGS" \
RPATH="/usr/lib" \
- LUA_LIBS="-lreadline" \
LIB_LIBS="-lpthread -lm -ldl" \
V=$pkgver \
gentoo_all || return 1
@@ -56,4 +56,5 @@ package() {
md5sums="d0870f2de55d59c1c8419f36e8fac150 lua-5.1.4.tar.gz
998ef7886183f61d3a5ca891a9ce6a79 patch-lua-5.1.4-3
0145ff6036eb6bfdab427dc8f0c3f3c0 lua-5.1-make.patch
-e60ef15deefb72a5930c498f1184aced lua-5.1-module_paths.patch"
+e60ef15deefb72a5930c498f1184aced lua-5.1-module_paths.patch
+f2205b897edb31292a1f597a7fd638cb lua-5.1-readline.patch"