mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
lua5.1, fix path for develop/headers/lua51 (#13704)
this brings it on par with the other lua_devel packages
This commit is contained in:
@@ -7,13 +7,13 @@ collection, making it ideal for configuration, scripting, and rapid prototyping.
|
||||
HOMEPAGE="http://www.lua.org"
|
||||
COPYRIGHT="1994-2009, Lua.org, PUC-Rio"
|
||||
LICENSE="MIT"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="http://www.lua.org/ftp/lua-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333"
|
||||
SOURCE_DIR="lua-$portVersion"
|
||||
PATCHES="lua-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
ARCHITECTURES="ALL"
|
||||
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
@@ -55,7 +55,7 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
make install INSTALL_TOP="$prefix" INSTALL_MAN="$manDir/man1" \
|
||||
INSTALL_INC="$includeDir/lua5.1" INSTALL_LMOD="$dataDir/lua/5.1" \
|
||||
INSTALL_INC="$includeDir/lua51" INSTALL_LMOD="$dataDir/lua/5.1" \
|
||||
INSTALL_LIB="$libDir" INSTALL_BIN="$binDir"
|
||||
|
||||
mkdir -p $libDir/pkgconfig
|
||||
@@ -81,7 +81,7 @@ INSTALL()
|
||||
|
||||
# The includes are in a subdirectory of includeDir, and fixPkgconfig breaks
|
||||
# that.
|
||||
sed -i -e "s,^includedir=.*,includedir=$prefix/$relativeIncludeDir/lua5.1," \
|
||||
sed -i -e "s,^includedir=.*,includedir=$prefix/$relativeIncludeDir/lua51," \
|
||||
$developLibDir/pkgconfig/lua.pc
|
||||
|
||||
packageEntries devel $developDir
|
||||
|
||||
Reference in New Issue
Block a user