mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
luarocks, remove old, add dependency for devel package lua5.3 (#8961)
This commit is contained in:
@@ -1,50 +0,0 @@
|
||||
SUMMARY="A deployment and management system for Lua modules"
|
||||
DESCRIPTION="LuaRocks allows you to install modules as self-contained \
|
||||
packages called rocks, which also contain version dependency information."
|
||||
HOMEPAGE="https://luarocks.org"
|
||||
COPYRIGHT="2007-2014 Kepler Project"
|
||||
LICENSE="MIT"
|
||||
REVISION="5"
|
||||
SOURCE_URI="https://luarocks.org/releases/luarocks-2.2.0.tar.gz"
|
||||
CHECKSUM_SHA256="9b1a4ec7b103e2fb90a7ba8589d7e0c8523a3d6d54ac469b0bbc144292b9279c"
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
|
||||
PROVIDES="
|
||||
luarocks = $portVersion
|
||||
cmd:luarocks = $portVersion
|
||||
cmd:luarocks_admin = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lua
|
||||
lib:liblua
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
lua_devel
|
||||
devel:liblua
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:lua
|
||||
cmd:luac
|
||||
cmd:make
|
||||
cmd:md5sum
|
||||
cmd:sed
|
||||
cmd:wget
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./configure --prefix=$prefix --with-lua=$binDir --with-lua-include=$includeDir --with-lua-lib=$libDir
|
||||
make build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
@@ -4,7 +4,7 @@ packages called rocks, which also contain version dependency information."
|
||||
HOMEPAGE="https://luarocks.org"
|
||||
COPYRIGHT="2007-2014 Kepler Project"
|
||||
LICENSE="MIT"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://luarocks.org/releases/luarocks-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0e1ec34583e1b265e0fbafb64c8bd348705ad403fe85967fd05d3a659f74d2e5"
|
||||
SOURCE_DIR="luarocks-$portVersion"
|
||||
@@ -26,6 +26,7 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:liblua$secondaryArchSuffix >= 5.3
|
||||
devel:liblua$secondaryArchSuffix >= 5.3
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
|
||||
Reference in New Issue
Block a user