mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 08:10:07 +02:00
68 lines
1.8 KiB
Bash
68 lines
1.8 KiB
Bash
SUMMARY="Common structures and low-level operations"
|
|
DESCRIPTION="A C library (with some C++ bindings available) that provides data \
|
|
structures and functions commonly needed, such as maps, deques, linked lists, \
|
|
string formatting and autoresizing, option and config file parsing, type \
|
|
checking casts and more.
|
|
|
|
libHX aids in quickly writing up C and C++ data processing programs, by \
|
|
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"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://sourceforge.net/projects/libhx/files/libHX/$portVersion/libHX-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="cc2087a964a82d2e50e8161cf458481ededebb7021e4660410cf53248a4c83a3"
|
|
SOURCE_DIR="libHX-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libhx$secondaryArchSuffix = $portVersion
|
|
lib:libHX$secondaryArchSuffix = 28.3.0 compat >= 28
|
|
lib:libHX_rtcheck$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libhx${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libHX$secondaryArchSuffix = 28.3.0 compat >= 28
|
|
devel:libHX_rtcheck$secondaryArchSuffix
|
|
"
|
|
REQUIRES_devel="
|
|
haiku${secondaryArchSuffix}_devel
|
|
libhx$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sh autogen.sh
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs \
|
|
libHX libHX_rtcheck
|
|
fixPkgconfig
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|