Files
haikuports/dev-libs/libidl/libidl-0.6.8.recipe
2014-12-08 12:45:50 +00:00

81 lines
1.9 KiB
Plaintext

SUMMARY="Library for creating CORBA Interface Definition Language files"
DESCRIPTION="
libIDL is a library for creating trees of CORBA Interface Definition Language \
(IDL) files, which is a specification for defining portable interfaces. libIDL \
was initially written for ORBit (the ORB from the GNOME project, and the \
primary means of libIDL distribution). However, the functionality was designed \
to be as reusable and portable as possible.
"
HOMEPAGE="http://andrewtv.org/libIDL/"
SRC_URI="http://andrewtv.org/libIDL/libIDL-0.6.8.tar.gz"
CHECKSUM_SHA256="50e8f7674815e42a6e8be32610838d9b7da91b3043784d2b69d17b79c7203e7b"
COPYRIGHT="1998-1999 Andrew T. Veliath"
LICENSE="GNU LGPL v2"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libidl$secondaryArchSuffix = $portVersion
lib:libIDL$secondaryArchSuffix = $portVersion compat = 0.4.4
lib:libIDL_0.6$secondaryArchSuffix = $portVersion compat = 0.4.4
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libglib$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libglib$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
cmd:autoconf
cmd:flex
cmd:bison
"
PROVIDES_devel="
libidl${secondaryArchSuffix}_devel = $portVersion
cmd:libIDL_config = $portVersion
devel:libIDL$secondaryArchSuffix = $portVersion
devel:libIDL_0.6$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libidl$secondaryArchSuffix == $portVersion
"
SOURCE_DIR="libIDL-$portVersion"
PATCHES="libidl-0.6.8.patchset"
BUILD()
{
libtoolize -fci
aclocal
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libIDL libIDL-0.6
fixDevelopLibDirReferences $binDir/libIDL-config \
$libDir/libIDLConf.sh
packageEntries devel \
$developDir $binDir \
$dataDir $infoDir \
$libDir/libIDLConf.sh
}