2008-10-09 00:02:18 +02:00
|
|
|
# Template build file for 'libIDL'.
|
|
|
|
pkgname=libIDL
|
2009-04-19 22:45:59 +02:00
|
|
|
version=0.8.13
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=5
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config flex"
|
|
|
|
makedepends="libglib-devel"
|
2008-10-09 00:02:18 +02:00
|
|
|
short_desc="CORBA Interface Definition Language parser"
|
2013-03-30 12:04:45 +01:00
|
|
|
homepage="http://projects.gnome.org/ORBit2/"
|
|
|
|
license="LGPL-2.1"
|
2008-10-09 00:02:18 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-13 10:15:49 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.8/$pkgname-$version.tar.bz2"
|
2009-04-19 22:45:59 +02:00
|
|
|
checksum=bccc7e10dae979518ff012f8464e47ec4b3558a5456a94c8679653aa0b262b71
|
2008-10-09 00:02:18 +02:00
|
|
|
long_desc="
|
|
|
|
libIDL is a library licensed under the GNU LGPL 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.
|
|
|
|
|
|
|
|
It is written in C, and the aim is to retain the ability to compile it
|
|
|
|
on a system with a standard C compiler. Preprocessed parser files are
|
|
|
|
included so you are not forced to rebuild the parser, however an
|
|
|
|
effort is made to keep the parser and lexer compatible with standard
|
|
|
|
Unix yacc. Currently, flex is required to generate the lexical
|
|
|
|
scanner.
|
|
|
|
|
|
|
|
With libIDL, you can parse an IDL file which will be automatically run
|
|
|
|
through the C preprocessor (on systems with one available), and have
|
|
|
|
detailed error and warning messages displayed. On a compilation
|
|
|
|
without errors, the tree is returned to the custom application.
|
|
|
|
libIDL performs compilation phases from lexical analysis to nearly
|
|
|
|
full semantic analysis with some optimizations, and will attempt to
|
|
|
|
generate meaningful errors and warnings for invalid or deprecated IDL."
|
2009-04-19 22:45:59 +02:00
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
makedepends+=" libfl-devel"
|
|
|
|
fi
|
|
|
|
|
|
|
|
libIDL-devel_package() {
|
|
|
|
depends="libIDL>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|