mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
libXdamage, bump revision, cleanup, fix REQUIRES_devel
This commit is contained in:
@@ -6,7 +6,7 @@ COPYRIGHT="2001, 2003 Keith Packard
|
||||
2003 Noah Levitt
|
||||
2007 Eric Anholt"
|
||||
LICENSE="libXdamage"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://www.x.org/releases/individual/lib/libXdamage-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="7c3fe7c657e83547f4822bfde30a90d84524efb56365448768409b77f05355ad"
|
||||
SOURCE_DIR="libXdamage-$portVersion"
|
||||
@@ -19,45 +19,35 @@ libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libxdamage$secondaryArchSuffix = $portVersion
|
||||
lib:libxdamage$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libXdamage$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libx11$secondaryArchSuffix
|
||||
lib:libxau$secondaryArchSuffix
|
||||
lib:libxcb$secondaryArchSuffix
|
||||
lib:libxdmcp$secondaryArchSuffix
|
||||
lib:libxfixes$secondaryArchSuffix
|
||||
lib:libX11$secondaryArchSuffix
|
||||
lib:libXfixes$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libxdamage${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libxdamage$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libXdamage$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libxdamage$secondaryArchSuffix == $portVersion base
|
||||
devel:damageproto
|
||||
devel:libX11$secondaryArchSuffix
|
||||
devel:libXfixes$secondaryArchSuffix
|
||||
devel:xproto
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:damageproto
|
||||
devel:fixesproto
|
||||
devel:kbproto
|
||||
devel:libpthread_stubs$secondaryArchSuffix
|
||||
devel:libx11$secondaryArchSuffix
|
||||
devel:libxau$secondaryArchSuffix
|
||||
devel:libxcb$secondaryArchSuffix
|
||||
devel:libxdmcp$secondaryArchSuffix
|
||||
devel:libxfixes$secondaryArchSuffix
|
||||
devel:libX11$secondaryArchSuffix
|
||||
devel:libXfixes$secondaryArchSuffix
|
||||
devel:util_macros
|
||||
devel:xextproto
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
@@ -67,7 +57,6 @@ defineDebugInfoPackage libxdamage$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
@@ -75,8 +64,10 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
install -d "$docDir"
|
||||
install -t "$docDir" README
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
install -m 0755 -d "$developDocDir"
|
||||
install -m 0644 -t "$developDocDir" README
|
||||
fi
|
||||
|
||||
rm -f "$libDir"/libXdamage.la
|
||||
|
||||
|
||||
Reference in New Issue
Block a user