mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libxfixes: new recipe (#1192)
* libxfixes: new recipe * libxfixes: fixed provides * Whitespace cleanup * Cleanup
This commit is contained in:
73
x11-libs/libxfixes/libxfixes-5.0.1.recipe
Normal file
73
x11-libs/libxfixes/libxfixes-5.0.1.recipe
Normal file
@@ -0,0 +1,73 @@
|
||||
SUMMARY="X Fixes extension library"
|
||||
DESCRIPTION="X applications have often needed to work around various \
|
||||
shortcomings in the core X window system. This extension is designed to \
|
||||
provide the minimal server-side support necessary to eliminate problems \
|
||||
caused by these workarounds."
|
||||
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
|
||||
COPYRIGHT="2001, 2003 Keith Packard"
|
||||
LICENSE="MIT (no promotion)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.x.org/archive/individual/lib/libXfixes-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="81b692856c0e7ab2778a34a32aa6b3f455b9b58cf388f009cba872ed933ae9c0"
|
||||
SOURCE_DIR="libXfixes-$portVersion"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libxfixes$secondaryArchSuffix = $portVersion
|
||||
lib:libxfixes$secondaryArchSuffix = 3.1.0 compat >= 3
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libX11$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libxfixes${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libxfixes$secondaryArchSuffix = 3.1.0 compat >= 3
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libxfixes$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:fixesproto$secondaryArchSuffix
|
||||
devel:libpthread_stubs$secondaryArchSuffix
|
||||
devel:libX11$secondaryArchSuffix
|
||||
devel:kbproto$secondaryArchSuffix
|
||||
devel:xproto$secondaryArchSuffix
|
||||
devel:xextproto$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
devel:util_macros$secondaryArchSuffix
|
||||
cmd:autoconf
|
||||
cmd:libtool
|
||||
cmd:aclocal
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
autoreconf -i
|
||||
runConfigure ./configure
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm -rf $libDir/libXfixes.la
|
||||
|
||||
fixPkgconfig
|
||||
prepareInstalledDevelLib libXfixes
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user