mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
89 lines
2.1 KiB
Bash
89 lines
2.1 KiB
Bash
SUMMARY="A client library for the Composite extension to the X11 protocol"
|
|
DESCRIPTION="libXcomposite is a client interface to the Composite extension of \
|
|
the X protocol."
|
|
HOMEPAGE="https://www.x.org/wiki/"
|
|
COPYRIGHT="2001, 2003 Keith Packard
|
|
2003 Noah Levitt
|
|
2006, 2007 Oracle and/or its affiliates"
|
|
LICENSE="libXcomposite"
|
|
REVISION="1"
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libXcomposite-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="ede250cd207d8bee4a338265c3007d7a68d5aca791b6ac41af18e9a2aeb34178"
|
|
SOURCE_DIR="libXcomposite-$portVersion"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="1.0.0"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libxcomposite$secondaryArchSuffix = $portVersion
|
|
lib:libxcomposite$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libX11$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libxcomposite${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libxcomposite$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
libxcomposite$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:compositeproto$secondaryArchSuffix
|
|
devel:fixesproto$secondaryArchSuffix
|
|
devel:kbproto$secondaryArchSuffix
|
|
devel:libpthread_stubs$secondaryArchSuffix
|
|
devel:libX11$secondaryArchSuffix
|
|
devel:libxfixes$secondaryArchSuffix
|
|
devel:xextproto$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
devel:util_macros$secondaryArchSuffix
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:autoheader
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:grep
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:makeinfo
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sed
|
|
"
|
|
|
|
defineDebugInfoPackage libxcomposite$secondaryArchSuffix \
|
|
"$libDir"/libXcomposite.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
install -d "$docDir"
|
|
install -t "$docDir" README
|
|
|
|
rm -f "$libDir"/libXcomposite.la
|
|
|
|
prepareInstalledDevelLib libXcomposite
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
"$developDir" \
|
|
"$manDir"
|
|
}
|