aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua5.2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-30 08:50:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-30 09:27:16 +0000
commit67118aa9e0d57ea5b5ea14d8d2045e24569e496e (patch)
treec0560d9aefac85a3cbafd0a5dbfd71b5d4f2d2a9 /main/lua5.2
parente49369a9fbba515630a272fdfb7538be9b8c57c2 (diff)
downloadaports-67118aa9e0d57ea5b5ea14d8d2045e24569e496e.tar.bz2
aports-67118aa9e0d57ea5b5ea14d8d2045e24569e496e.tar.xz
main/lua5.2: create symlinks to /usr/lua5.2/{include,lib}
Diffstat (limited to 'main/lua5.2')
-rw-r--r--main/lua5.2/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/lua5.2/APKBUILD b/main/lua5.2/APKBUILD
index 66edf7b22e..025af2e9a8 100644
--- a/main/lua5.2/APKBUILD
+++ b/main/lua5.2/APKBUILD
@@ -2,7 +2,7 @@
pkgname=lua5.2
pkgver=5.2.2
_luaver=${pkgname#lua}
-pkgrel=0
+pkgrel=1
pkgdesc="Powerful light-weight programming language"
url="http://www.lua.org/"
arch="all"
@@ -117,6 +117,13 @@ EOF
}
+dev() {
+ default_dev
+ mkdir -p "$subpkgdir"/usr/$pkgname
+ ln -s ../include/$pkgname "$subpkgdir"/usr/$pkgname/include || return 1
+ ln -s ../lib/$pkgname "$subpkgdir"/usr/$pkgname/lib || return 1
+}
+
libs() {
pkgdesc="Lua dynamic library runtime"
replaces="lua"