mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 04:58:52 +02:00
Add recipe for libxpm
Finally I can hope getting buttons on XEmacs toolbar!
This commit is contained in:
90
x11-libs/libxpm/libxpm-3.5.11.recipe
Normal file
90
x11-libs/libxpm/libxpm-3.5.11.recipe
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user