void-packages/srcpkgs/libIDL/template
Jürgen Buchmüller 225d4a860b libIDL: fix cross mips*
Some mips* cross targets need a hint for the format of guint64, i.e.
unsigned long long.
2018-03-10 19:09:55 +01:00

29 lines
819 B
Bash

# Template build file for 'libIDL'.
pkgname=libIDL
version=0.8.14
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config flex"
makedepends="libglib-devel"
short_desc="CORBA Interface Definition Language parser"
homepage="http://projects.gnome.org/ORBit2/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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
}
}