mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
libigloo, bump to version 0.9.5 (#13863)
This commit is contained in:
75
dev-libs/libigloo/libigloo-0.9.5.recipe
Normal file
75
dev-libs/libigloo/libigloo-0.9.5.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="A generic C framework developed and used by the Icecast project"
|
||||
DESCRIPTION="libigloo is a new generic C framework for the Icecast project.
|
||||
|
||||
It should replace the code their existing projects share currently (known as “common/”) over time. \
|
||||
It will both provide a more uniform as well as clean, and modern interface to their shared code \
|
||||
base."
|
||||
HOMEPAGE="https://icecast.org/"
|
||||
COPYRIGHT="2018-2024 Philipp Schafft"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://downloads.xiph.org/releases/igloo/libigloo-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ea22e9119f7a2188810f99100c5155c6762d4595ae213b9ac29e69b4f0b87289"
|
||||
SOURCE_FILENAME="libigloo-v$portVersion.tar.gz"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="0.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libigloo$secondaryArchSuffix = $portVersion
|
||||
lib:libigloo$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:librhash$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libigloo${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libigloo$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libigloo$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:librhash$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# "AUTOMAKE=: AUTOCONF=:" is a workaround for:
|
||||
# https://github.com/haikuports/haikuporter/issues/325 / https://dev.haiku-os.org/ticket/19213.
|
||||
AUTOMAKE=: AUTOCONF=: runConfigure ./configure --enable-static=no
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# cleanup
|
||||
rm -f $libDir/libigloo.la
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
libigloo
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user