Browse files

PKGBUILD: update license

..and add dependencies for linking against
different Lua engines.
  • Loading branch information...
1 parent 2c875ab commit 4e417a67f146f79bafccacb79e58ed15e6d96177 @esmil committed Jan 21, 2013
Showing with 13 additions and 3 deletions.
  1. +13 −3 PKGBUILD
View
16 PKGBUILD
@@ -1,19 +1,29 @@
# Maintainer: Emil Renner Berthing <esmil@mailme.dk>
+_lua='builtin'
+#_lua='lua'
+#_lua='lua5.1' # works, but not recommended
+#_lua='luajit'
+
pkgname=lem
pkgver=0.3
pkgrel=1
pkgdesc='A Lua Event Machine'
arch=('i686' 'x86_64' 'armv5tel' 'armv7l')
url='https://github.com/esmil/lem'
-license=('GPL')
-depends=('glibc')
+license=('LGPL')
+case "$_lua" in
+builtin) depends=('glibc');;
+lua) depends=('lua');;
+lua5.1) depends=('lua51');;
+luajit) depends=('luajit');;
+esac
source=()
build() {
cd "$startdir"
- ./configure --prefix=/usr --with-lua=builtin
+ ./configure --prefix=/usr --with-lua=$_lua
make
}

0 comments on commit 4e417a6

Please sign in to comment.