mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
libexttextcat, bump version, disable static, move cmd to tools package (#7796)
This commit is contained in:
@@ -7,30 +7,46 @@ aware."
|
||||
HOMEPAGE="https://github.com/LibreOffice/libexttextcat"
|
||||
COPYRIGHT="2003, WiseGuys Internet B.V."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/LibreOffice/libexttextcat/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a2fce2088cacd6d831d9180186006bb2ffe35a2126cb1754a325a1b40f75e090"
|
||||
CHECKSUM_SHA256="3a5247a7df5d4686d077a7cbe733f3d7aa7869a37ba60bf2d3b0714acfe618d1"
|
||||
SOURCE_FILENAME="libexttextcat-$portVersion.tar.gz"
|
||||
|
||||
ARCHITECTURES="all ?x86_gcc2 ?x86"
|
||||
ARCHITECTURES="all ?x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandBinDir=$binDir
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
libVersion="0.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libexttextcat$secondaryArchSuffix = $portVersion
|
||||
lib:libexttextcat_2.0$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libexttextcat_2.0$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_tools="
|
||||
libexttextcat${secondaryArchSuffix}_tools
|
||||
cmd:createfp$commandSuffix
|
||||
"
|
||||
REQUIRES_tools="
|
||||
libexttextcat$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libexttextcat${secondaryArchSuffix}_devel = $portVersion
|
||||
cmd:createfp$secondaryArchSuffix
|
||||
devel:libexttextcat_2.0$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libexttextcat_2.0$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku$secondaryArchSuffix
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
libexttextcat$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
@@ -41,7 +57,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:which
|
||||
"
|
||||
@@ -49,7 +65,10 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
runConfigure ./configure
|
||||
runConfigure --omit-dirs binDir ./configure \
|
||||
--bindir=$commandBinDir \
|
||||
--disable-static \
|
||||
--disable-werror
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -57,10 +76,12 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
prepareInstalledDevelLib \
|
||||
libexttextcat-2.0
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$dataDir/vala $developDir $binDir
|
||||
$dataDir/vala $developDir
|
||||
packageEntries tools \
|
||||
$commandBinDir
|
||||
}
|
||||
Reference in New Issue
Block a user