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

27 lines
624 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: Lua5.2 kütüphane yöneticisi
# URL: http://luarocks.org
# Paketçi: milisarge
# Gerekler: lua52 unzip
# Grup: geliştirme
isim=luarocks-52
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/lua5.2 \
--lua-version=5.2 \
--lua-suffix=5.2 \
--versioned-rocks-dir
make build
make DESTDIR=$PKG install
sed -i '/^LUAROCKS_UNAME_M/d' "$PKG"/usr/share/lua/5.2/luarocks/site_config.lua
unlink $PKG/usr/bin/luarocks
unlink $PKG/usr/bin/luarocks-admin
}