mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
luafilesystem, bump version (#10584)
This commit is contained in:
@@ -8,7 +8,7 @@ COPYRIGHT="2003-2017 Kepler Project"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/keplerproject/luafilesystem/archive/v${portVersion//\./_}.tar.gz"
|
||||
CHECKSUM_SHA256="23b4883aeb4fb90b2d0f338659f33a631f9df7a7e67c54115775a77d4ac3cc59"
|
||||
CHECKSUM_SHA256="16d17c788b8093f2047325343f5e9b74cccb1ea96001e45914a58bbae8932495"
|
||||
SOURCE_DIR="luafilesystem-${portVersion//\./_}"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
@@ -20,16 +20,16 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:liblua$secondaryArchSuffix >= 5.3
|
||||
lib:liblua$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:liblua$secondaryArchSuffix >= 5.3
|
||||
devel:liblua$secondaryArchSuffix >= 5.4
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:lua5.3$secondaryArchSuffix
|
||||
cmd:lua5.4$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
@@ -37,8 +37,7 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
LUAVERSION_WITHOUT_DOT=$(lua -v | sed 's/Lua //' | head -c3 | tr -d '.')
|
||||
make LUA_INC="$(finddir B_SYSTEM_HEADERS_DIRECTORY)$secondaryArchSubDir/lua$LUAVERSION_WITHOUT_DOT" \
|
||||
LUA_LIBDIR="$libDir/lua/$LUAVERSION"
|
||||
make LUA_INC="-I$(finddir B_SYSTEM_HEADERS_DIRECTORY)$secondaryArchSubDir/lua$LUAVERSION_WITHOUT_DOT"
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
Reference in New Issue
Block a user