mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
admesh, fix libVersion (#8581)
This commit is contained in:
@@ -7,7 +7,7 @@ Anthony Martins Masters Thesis."
|
|||||||
HOMEPAGE="https://admesh.readthedocs.io/"
|
HOMEPAGE="https://admesh.readthedocs.io/"
|
||||||
COPYRIGHT="Anthony D. Martin"
|
COPYRIGHT="Anthony D. Martin"
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="https://github.com/admesh/admesh/releases/download/v$portVersion/admesh-$portVersion.tar.gz"
|
SOURCE_URI="https://github.com/admesh/admesh/releases/download/v$portVersion/admesh-$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="0d7994bfa587c4e958b2ac7c7d2fb90dfb6c5463d32513ada169cf710a438535"
|
CHECKSUM_SHA256="0d7994bfa587c4e958b2ac7c7d2fb90dfb6c5463d32513ada169cf710a438535"
|
||||||
PATCHES="admesh-$portVersion.patchset"
|
PATCHES="admesh-$portVersion.patchset"
|
||||||
@@ -15,10 +15,20 @@ PATCHES="admesh-$portVersion.patchset"
|
|||||||
ARCHITECTURES="all !x86_gcc2"
|
ARCHITECTURES="all !x86_gcc2"
|
||||||
SECONDARY_ARCHITECTURES="x86"
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
commandBinDir=$binDir
|
||||||
|
commandSuffix=$secondaryArchSuffix
|
||||||
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||||
|
commandSuffix=
|
||||||
|
commandBinDir=$prefix/bin
|
||||||
|
fi
|
||||||
|
|
||||||
|
libVersion="1.0.0"
|
||||||
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
admesh$secondaryArchSuffix = $portVersion
|
admesh$secondaryArchSuffix = $portVersion
|
||||||
cmd:admesh$secondaryArchSuffix = $portVersion
|
cmd:admesh$commandSuffix = $portVersion
|
||||||
lib:libadmesh$secondaryArchSuffix = $portVersion
|
lib:libadmesh$secondaryArchSuffix = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku$secondaryArchSuffix
|
haiku$secondaryArchSuffix
|
||||||
@@ -26,11 +36,10 @@ REQUIRES="
|
|||||||
|
|
||||||
PROVIDES_devel="
|
PROVIDES_devel="
|
||||||
admesh${secondaryArchSuffix}_devel = $portVersion
|
admesh${secondaryArchSuffix}_devel = $portVersion
|
||||||
devel:libadmesh$secondaryArchSuffix = $portVersion
|
devel:libadmesh$secondaryArchSuffix = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES_devel="
|
REQUIRES_devel="
|
||||||
admesh$secondaryArchSuffix == $portVersion base
|
admesh$secondaryArchSuffix == $portVersion base
|
||||||
haiku${secondaryArchSuffix}_devel
|
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
@@ -45,7 +54,8 @@ BUILD_PREREQUIRES="
|
|||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
autoconf -i
|
autoconf -i
|
||||||
runConfigure ./configure
|
runConfigure --omit-dirs binDir ./configure \
|
||||||
|
--bindir=$commandBinDir
|
||||||
make $jobArgs
|
make $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,10 +65,9 @@ INSTALL()
|
|||||||
|
|
||||||
rm $libDir/*.la
|
rm $libDir/*.la
|
||||||
|
|
||||||
|
prepareInstalledDevelLib libadmesh
|
||||||
fixPkgconfig
|
fixPkgconfig
|
||||||
|
|
||||||
prepareInstalledDevelLibs \
|
|
||||||
libadmesh
|
|
||||||
packageEntries devel \
|
packageEntries devel \
|
||||||
$developDir
|
$developDir
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user