mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
84 lines
1.9 KiB
Bash
84 lines
1.9 KiB
Bash
SUMMARY="Inter-Client Exchange Library"
|
|
DESCRIPTION="The ICE library utilizes callbacks to process incoming \
|
|
messages. Using callbacks allows ProtocolSetup messages and authentication \
|
|
to happen behind the scenes. An additional benefit is that messages never \
|
|
need to be buffered up by the library when the client blocks waiting for \
|
|
a particular message."
|
|
HOMEPAGE="https://www.x.org/releases/individual/lib/"
|
|
COPYRIGHT="1993, 1998 The Open Group"
|
|
LICENSE="MIT (no promotion)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libICE-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="6f86dce12cf4bcaf5c37dddd8b1b64ed2ddf1ef7b218f22b9942595fb747c348"
|
|
SOURCE_DIR="libICE-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="6.3.0"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libice$secondaryArchSuffix = $portVersion
|
|
lib:libICE$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libice${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libICE$secondaryArchSuffix = $libVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libice$secondaryArchSuffix == $portVersion base
|
|
devel:xproto
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
docbook_xml_dtd
|
|
docbook_xsl_stylesheets
|
|
devel:util_macros
|
|
devel:xorg_sgml_doctools
|
|
devel:xproto
|
|
devel:xtrans
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:xmlto
|
|
cmd:xsltproc
|
|
"
|
|
|
|
defineDebugInfoPackage libice$secondaryArchSuffix \
|
|
$libDir/libICE.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
export LDFLAGS="-lnetwork"
|
|
autoreconf -vfi
|
|
runConfigure --omit-dirs docDir ./configure \
|
|
--docdir=$developDocDir \
|
|
--enable-tcp-transport
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm -f $libDir/*.la $libDir/*.a
|
|
|
|
prepareInstalledDevelLib libICE
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|