mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
75 lines
1.8 KiB
Bash
75 lines
1.8 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="8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202"
|
|
SOURCE_DIR="libICE-$portVersion"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
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
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:xproto$secondaryArchSuffix
|
|
devel:xtrans$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
devel:util_macros$secondaryArchSuffix
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
defineDebugInfoPackage libice$secondaryArchSuffix \
|
|
$libDir/libICE.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm -f $libDir/*.la
|
|
|
|
prepareInstalledDevelLib libICE
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|