mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
* Mark x86_64 as tested. * Fix COPYRIGHT years and LICENSE. * Add the project's "COPYING" file as licenses/libXrender. * Add README to $docDir. * Move libXrender.txt to $developDocDir.
80 lines
1.9 KiB
Bash
80 lines
1.9 KiB
Bash
SUMMARY="Library for the Render Extension to the X11 protocol"
|
|
DESCRIPTION="The Xrender library is designed as a lightweight library \
|
|
interface to the Render extension."
|
|
HOMEPAGE="https://www.x.org/releases/individual/lib/"
|
|
COPYRIGHT="2000 SuSE, Inc
|
|
2001-2003 Keith Packard"
|
|
LICENSE="libXrender"
|
|
REVISION="2"
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libXrender-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="c06d5979f86e64cabbde57c223938db0b939dff49fdb5a793a1d3d0396650949"
|
|
SOURCE_DIR="libXrender-$portVersion"
|
|
|
|
libVersion=1.3.0
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libxrender$secondaryArchSuffix = $portVersion
|
|
lib:libXrender$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libX11$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libxrender${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libXrender$secondaryArchSuffix = $libVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libxrender$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:kbproto$secondaryArchSuffix
|
|
devel:libpthread_stubs$secondaryArchSuffix
|
|
devel:libX11$secondaryArchSuffix
|
|
devel:renderproto$secondaryArchSuffix
|
|
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 libxrender$secondaryArchSuffix \
|
|
$libDir/libXrender.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure --omit-dirs docDir ./configure --docdir "$developDocDir"
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
install -d "$docDir"
|
|
install -t "$docDir" README
|
|
|
|
rm -f $libDir/*.la
|
|
|
|
prepareInstalledDevelLib libXrender
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|