Commit | Line | Data |
---|---|---|
a39ef747 JB |
1 | # Description: A programming language designed for extending applications |
2 | # URL: http://www.lua.org | |
3 | # Maintainer: Tilman Sauerbeck, tilman at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: | |
6 | ||
7 | name=lua | |
8 | version=5.1.2 | |
9 | release=1 | |
10 | source=(http://www.lua.org/ftp/$name-$version.tar.gz \ | |
11 | $name.diff) | |
12 | ||
13 | build() { | |
14 | cd $name-$version | |
15 | ||
16 | patch -Np1 -i $SRC/$name.diff | |
17 | ||
18 | make CC="$CC" linux | |
19 | make INSTALL_TOP=$PKG/usr install | |
20 | ||
21 | install -D -m 0644 etc/lua.pc $PKG/usr/lib/pkgconfig/lua.pc | |
22 | } |