# Template file for 'gwenhywfar' pkgname=gwenhywfar version=4.3.3 revision=2 _dnrel=67 hostmakedepends="pkg-config libgcrypt-devel automake libtool" makedepends="libgcrypt-devel gnutls-devel gtk+-devel" configure_args=" --with-guis=gtk2" build_style="gnu-configure" maintainer="Enno Boland " license="LGPL" homepage="http://www.aquamaniac.de" short_desc="OS abstraction functions for various projects" distfiles="http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${_dnrel}&file=01&dummy=gwenhywfar-$version.tar.gz" checksum=87ed0f8669e1c21eaa717a18a8cf516b771c00610f5e17148cd36bce0d7d8ec2 configure_args="--disable-binreloc" if [ "$CROSS_BUILD" ]; then configure_args+=" --with-guis=gtk2" else makedepends+=" qt-devel" fi pre_configure() { libtoolize } if [ -z "$CROSS_BUILD" ]; then gwenhywfar-qt_package() { short_desc+=" - qt4 bindings" pkg_install() { vmove usr/lib/*-qt4* } } fi gwenhywfar-gtk_package() { short_desc+=" - gtk+2 bindings" pkg_install() { vmove usr/lib/*-gtk2* } } gwenhywfar-devel_package() { short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig } }