iglunix/extra/lua/build.sh
2021-09-11 08:24:31 +00:00

28 lines
402 B
Bash

pkgname=lua
pkgver=5.4.3
fetch() {
curl "http://www.lua.org/ftp/lua-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=$TRIPLE \
--host=$TRIPLE
make CC=cc
}
package() {
cd $pkgname-$pkgver
make install INSTALL_TOP=$pkgdir/usr
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}