aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua5.2
diff options
context:
space:
mode:
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"