Files
haikuports/x11-libs/libxpm/libxpm-3.5.11.recipe
François Revol 06cb5f15a0 Add recipe for libxpm
Finally I can hope getting buttons on XEmacs toolbar!
2016-01-17 05:21:49 +01:00

91 lines
2.2 KiB
Bash

SUMMARY="X.Org Xpm library"
DESCRIPTION="The X.Org project provides an open source implementation of the \
X Window System. \
The development work is being done in conjunction with the freedesktop.org \
community. \
The X.Org Foundation is the educational non-profit corporation whose \
Board serves this effort, and whose Members lead this work."
HOMEPAGE="http://xorg.freedesktop.org/"
COPYRIGHT="1989-95 GROUPE BULL
1998 Arnaud LE HORS
1996 Lorens Younes
"
# TODO: check all the licenses in the COPYING file in the next century.
LICENSE="MIT"
REVISION="1"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/lib/libXpm-3.5.11.tar.gz"
CHECKSUM_SHA256="53ddf924441b7ed2de994d4934358c13d9abf4828b1b16e1255ade5032b31df7"
SOURCE_DIR="libXpm-$portVersion"
#PATCHES="libx11-1.6.3.patchset"
ARCHITECTURES="?x86 x86_gcc2 ?x86_64"
PROVIDES="
libxpm$secondaryArchSuffix = $portVersion
lib:libxpm$secondaryArchSuffix = $portVersion
cmd:cxpm = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libx11$secondaryArchSuffix
lib:libxcb$secondaryArchSuffix
lib:libxau$secondaryArchSuffix
"
PROVIDES_devel="
libxpm${secondaryArchSuffix}_devel = $portVersion
devel:libxpm$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libxpm$secondaryArchSuffix == $portVersion base
"
# looks like all x11 deps are needed
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libx11$secondaryArchSuffix
devel:util_macros$secondaryArchSuffix
devel:xproto$secondaryArchSuffix
devel:xtrans$secondaryArchSuffix
devel:inputproto$secondaryArchSuffix
devel:kbproto$secondaryArchSuffix
devel:xcb_proto$secondaryArchSuffix
devel:libxslt$secondaryArchSuffix
devel:libpthread_stubs$secondaryArchSuffix
devel:libxcb$secondaryArchSuffix
devel:libxau$secondaryArchSuffix
devel:xextproto$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:automake
cmd:autoconf
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs \
libXpm
fixPkgconfig
packageEntries devel \
$developDir
}