void-packages/srcpkgs/libIDL/template

29 lines
822 B
Bash

# Template file for 'libIDL'
pkgname=libIDL
version=0.8.14
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config flex"
makedepends="libglib-devel"
short_desc="CORBA Interface Definition Language parser"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="http://projects.gnome.org/ORBit2/"
distfiles="${GNOME_SITE}/$pkgname/0.8/$pkgname-$version.tar.bz2"
checksum=c5d24d8c096546353fbc7cedf208392d5a02afe9d56ebcc1cccb258d7c4d2220
if [ -n "$CROSS_BUILD" ]; then
configure_args+=" libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}"
fi
libIDL-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}