Skip to content

Commit

Permalink
PKGBUILD: update license
Browse files Browse the repository at this point in the history
..and add dependencies for linking against
different Lua engines.
  • Loading branch information
esmil committed Jan 22, 2013
1 parent 2c875ab commit 4e417a6
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions 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
}

Expand Down

0 comments on commit 4e417a6

Please sign in to comment.