diff --git a/talimatname/genel/l/luarocks-51/talimat b/talimatname/genel/l/luarocks-51/talimat new file mode 100644 index 000000000..c3db2fb97 --- /dev/null +++ b/talimatname/genel/l/luarocks-51/talimat @@ -0,0 +1,25 @@ +# Tanım: Lua5.1 kütüphane yöneticisi +# URL: http://luarocks.org +# Paketçi: milisarge +# Gerekler: lua51 unzip + +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 +} diff --git a/talimatname/genel/l/luarocks-52/talimat b/talimatname/genel/l/luarocks-52/talimat new file mode 100644 index 000000000..f2af58cc8 --- /dev/null +++ b/talimatname/genel/l/luarocks-52/talimat @@ -0,0 +1,25 @@ +# Tanım: Lua5.2 kütüphane yöneticisi +# URL: http://luarocks.org +# Paketçi: milisarge +# Gerekler: lua52 unzip + +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 +} diff --git a/talimatname/genel/l/luarocks-53/talimat b/talimatname/genel/l/luarocks-53/talimat new file mode 100644 index 000000000..186263faa --- /dev/null +++ b/talimatname/genel/l/luarocks-53/talimat @@ -0,0 +1,23 @@ +# 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 +}