mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
89 lines
2.0 KiB
Bash
89 lines
2.0 KiB
Bash
SUMMARY="A library for the X Damage region extension to the X11 protocol"
|
|
DESCRIPTION="libXdamage is a client interface to the Damage extension of the \
|
|
X protocol."
|
|
HOMEPAGE="https://www.x.org/wiki/"
|
|
COPYRIGHT="2001, 2003 Keith Packard
|
|
2003 Noah Levitt
|
|
2007 Eric Anholt"
|
|
LICENSE="libXdamage"
|
|
REVISION="1"
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libXdamage-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="7c3fe7c657e83547f4822bfde30a90d84524efb56365448768409b77f05355ad"
|
|
SOURCE_DIR="libXdamage-$portVersion"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="1.1.0"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libxdamage$secondaryArchSuffix = $portVersion
|
|
lib:libxdamage$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libX11$secondaryArchSuffix
|
|
lib:libxfixes$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libxdamage${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libxdamage$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
libxdamage$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:damageproto$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 libxdamage$secondaryArchSuffix \
|
|
"$libDir"/libXdamage.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
install -d "$docDir"
|
|
install -t "$docDir" README
|
|
|
|
rm -f "$libDir"/libXdamage.la
|
|
|
|
prepareInstalledDevelLib libXdamage
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
"$developDir"
|
|
}
|