milis/talimatname/genel/l/luarocks-51/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.1 kütüphane yöneticisi
# URL: http://luarocks.org
# Paketçi: milisarge
# Gerekler: lua51 unzip
# Grup: geliştirme
isim=luarocks-51
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.1 \
--lua-version=5.1 \
--lua-suffix=5.1 \
--versioned-rocks-dir
make build
make DESTDIR=$PKG install
sed -i '/^LUAROCKS_UNAME_M/d' "$PKG"/usr/share/lua/5.1/luarocks/site_config.lua
unlink $PKG/usr/bin/luarocks
unlink $PKG/usr/bin/luarocks-admin
}