mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libhx, bump to building version (#8523)
This commit is contained in:
@@ -9,20 +9,23 @@ consolidating tasks that often happen to be open-coded, such as (simple) \
|
||||
config file reading, option parsing, directory traversal, and others, into a \
|
||||
library. The focus is on reducing the amount of time (and secondarily, the \
|
||||
amount of code) a developer has to spend for otherwise implementing such."
|
||||
HOMEPAGE="http://libhx.sourceforge.net/"
|
||||
COPYRIGHT="2007-2014 Jan Engelhardt"
|
||||
HOMEPAGE="https://inai.de/projects/libhx/"
|
||||
COPYRIGHT="2007-2021 Jan Engelhardt"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://sourceforge.net/projects/libhx/files/libHX/$portVersion/libHX-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="cc2087a964a82d2e50e8161cf458481ededebb7021e4660410cf53248a4c83a3"
|
||||
SOURCE_URI="https://inai.de/files/libhx/libHX-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="67e2dd0b5b888ab8c02362d043ac2d4dd26eb5bb976064603b57b3e3a7adb209"
|
||||
SOURCE_DIR="libHX-$portVersion"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="32.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libhx$secondaryArchSuffix = $portVersion
|
||||
lib:libHX$secondaryArchSuffix = 28.3.0 compat >= 28
|
||||
lib:libHX$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libHX_rtcheck$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -31,11 +34,10 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libhx${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libHX$secondaryArchSuffix = 28.3.0 compat >= 28
|
||||
devel:libHX$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libHX_rtcheck$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
libhx$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
@@ -43,14 +45,18 @@ BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoreconf
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sh autogen.sh
|
||||
export LIBS="-lnetwork"
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
@@ -59,9 +65,17 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# removee libtool files
|
||||
rm -f $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libHX libHX_rtcheck
|
||||
fixPkgconfig
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user