milis/talimatname/genel/l/luarocks-53/talimat

24 lines
524 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Lua kütüphane yöneticisi
# URL: http://luarocks.org
# Paketçi: milisarge
# Gerekler: lua unzip
isim=luarocks-53
surum=2.4.3
devir=1
kaynak=(http://luarocks.org/releases/luarocks-$surum.tar.gz)
derle() {
cd luarocks-$surum
./configure --prefix=/usr \
--sysconfdir=/etc/luarocks \
--with-lua-include=/usr/include/ \
--lua-version=5.3 \
--lua-suffix=5.3 \
--versioned-rocks-dir
make build
make DESTDIR=$PKG install
sed -i '/^LUAROCKS_UNAME_M/d' "$PKG"/usr/share/lua/5.3/luarocks/site_config.lua
}