libIDL, fix recipe (#3044)

This commit is contained in:
Schrijvers Luc
2018-09-12 19:22:06 +02:00
committed by Scott McCreary
parent 161a21a5a8
commit 7c4a070ef8

View File

@@ -1,15 +1,13 @@
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.
"
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="https://github.com/GNOME/libIDL/"
COPYRIGHT="1998-1999 Andrew T. Veliath"
LICENSE="GNU LGPL v2"
REVISION="4"
REVISION="5"
SOURCE_URI="http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-$portVersion.tar.gz"
CHECKSUM_SHA256="bca99570f1ab453e11ae627b209561019cde5aaa98f71f43cc6da048d3bc7e72"
SOURCE_DIR="libIDL-$portVersion"
@@ -42,7 +40,8 @@ BUILD_REQUIRES="
devel:libglib_2.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:autoreconf
cmd:awk
cmd:bison
cmd:flex
cmd:gcc$secondaryArchSuffix
@@ -51,11 +50,12 @@ BUILD_PREREQUIRES="
cmd:pkg_config$secondaryArchSuffix
"
defineDebugInfoPackage libIDL$secondaryArchSuffix \
"$libDir"/libIDL-2.so.0.0.0
BUILD()
{
libtoolize -fci
aclocal
autoconf
autoreconf -vfi
runConfigure ./configure
make $jobArgs
}
@@ -65,13 +65,13 @@ INSTALL()
make install
# remove libtool files
rm $libDir/*.la
rm "$libDir"/*.la
prepareInstalledDevelLibs libIDL-2
fixPkgconfig
fixDevelopLibDirReferences $binDir/libIDL-config-2
fixDevelopLibDirReferences "$binDir"/libIDL-config-2
packageEntries devel \
$developDir $binDir $infoDir
"$developDir" "$binDir" "$infoDir"
}