mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
libICE, bump revision, cleanup, fix REQUIRES_devel
This commit is contained in:
@@ -7,7 +7,7 @@ a particular message."
|
||||
HOMEPAGE="https://www.x.org/releases/individual/lib/"
|
||||
COPYRIGHT="1993, 1998 The Open Group"
|
||||
LICENSE="MIT (no promotion)"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://www.x.org/releases/individual/lib/libICE-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202"
|
||||
SOURCE_DIR="libICE-$portVersion"
|
||||
@@ -32,11 +32,15 @@ PROVIDES_devel="
|
||||
"
|
||||
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
|
||||
"
|
||||
@@ -47,6 +51,8 @@ BUILD_PREREQUIRES="
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:xmlto
|
||||
cmd:xsltproc
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libice$secondaryArchSuffix \
|
||||
@@ -54,8 +60,11 @@ defineDebugInfoPackage libice$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export LDFLAGS="-lnetwork"
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
runConfigure --omit-dirs docDir ./configure \
|
||||
--docdir=$developDocDir \
|
||||
--enable-tcp-transport
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -63,6 +72,12 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
install -m 0644 -t "$developDocDir" README
|
||||
else
|
||||
rm -rf "$developDir/documentation"
|
||||
fi
|
||||
|
||||
rm -f $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLib libICE
|
||||
|
||||
Reference in New Issue
Block a user