libXcm: added a recipe for version 0.5.3

This commit is contained in:
Jerome Duval
2014-08-27 17:55:27 +00:00
parent 665b0b78f4
commit 30f6b86206

View File

@@ -0,0 +1,77 @@
SUMMARY="X Color Management library"
DESCRIPTION="
The libXcm library contains the a reference implementation of the \
X Color Management specification. The X Color Management specification \
allows to attach colour regions to X windows to communicate with colour \
servers.
"
HOMEPAGE="http://www.oyranos.org/libxcm"
COPYRIGHT="
2008 Tomas Carnecky
2008-2010 Kai-Uwe Behrmann
"
LICENSE="MIT"
SRC_URI="http://sourceforge.net/projects/oyranos/files/libXcm/libXcm-0.5/libXcm-$portVersion.tar.bz2"
CHECKSUM_SHA256="04bda6aa4e8b1ef61815ebfc7760277856a5fd3b347948e0d99cf0ec78b03050"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libxcm$secondaryArchSuffix = $portVersion compat >= 0.5
lib:libXcm$secondaryArchSuffix = 0.0.5 compat >= 0
lib:libXcmDDC$secondaryArchSuffix = 0.0.5 compat >= 0
lib:libXcmEDID$secondaryArchSuffix = 0.0.5 compat >= 0
lib:libXcmX11$secondaryArchSuffix = 0.0.5 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
SOURCE_DIR="libXcm-$portVersion"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libXcm libXcmDDC libXcmEDID libXcmX11
fixPkgconfig
# devel package
packageEntries devel \
$developDir \
$manDir/man3
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libxcm${secondaryArchSuffix}_devel = $portVersion compat >= 0.5
devel:libXcm$secondaryArchSuffix = 0.0.5 compat >= 0
devel:libXcmDDC$secondaryArchSuffix = 0.0.5 compat >= 0
devel:libXcmEDID$secondaryArchSuffix = 0.0.5 compat >= 0
devel:libXcmX11$secondaryArchSuffix = 0.0.5 compat >= 0
"
REQUIRES_devel="
libxcm$secondaryArchSuffix == $portVersion base
"