# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=libidl pkgver=0.8.14 pkgrel=2 pkgdesc="library for parsing Interface Definition Language files" url="http://www.gnome.org/" license="GPL" arch="all" depends= depends_dev="glib-dev" makedepends="${depends_dev} flex bison" install= subpackages="$pkgname-dev $pkgname-doc" source="https://download.gnome.org/sources/libIDL/${pkgver%.*}/libIDL-$pkgver.tar.bz2" _builddir="$srcdir"/libIDL-$pkgver prepare() { cd "$_builddir" update_config_sub || return 1 } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install }