void-packages/srcpkgs/gwenhywfar/template

49 lines
1.2 KiB
Bash
Raw Normal View History

2014-02-23 12:07:49 +01:00
# Template file for 'gwenhywfar'
pkgname=gwenhywfar
2015-01-04 23:40:10 +01:00
version=4.13.1
revision=2
2015-01-04 23:40:10 +01:00
_dnrel=78
hostmakedepends="automake pkg-config libgcrypt-devel automake libtool"
2014-02-23 14:06:19 +01:00
makedepends="libgcrypt-devel gnutls-devel gtk+-devel"
2014-02-23 12:07:49 +01:00
build_style="gnu-configure"
configure_args="--enable-visibility --disable-binreloc"
2014-02-23 12:07:49 +01:00
maintainer="Enno Boland <eb@s01.de>"
license="LGPL"
homepage="http://www.aquamaniac.de"
short_desc="OS abstraction functions for various projects"
2014-02-23 14:06:19 +01:00
distfiles="http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${_dnrel}&file=01&dummy=gwenhywfar-$version.tar.gz"
2015-01-04 23:40:10 +01:00
checksum=4beca892c1235548ea0ae30132a6d2e57911c22340746585395ccb01d84ec72b
2014-02-23 14:06:19 +01:00
pre_configure() {
autoreconf -fi
2014-02-23 14:06:19 +01:00
}
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" qt-devel"
2014-02-23 14:06:19 +01:00
gwenhywfar-qt_package() {
short_desc+=" - qt4 bindings"
pkg_install() {
vmove usr/lib/*-qt4*
}
}
else
2014-03-05 12:01:21 +01:00
configure_args+=" --with-guis=gtk2"
2014-02-23 14:06:19 +01:00
fi
2014-02-23 12:07:49 +01:00
gwenhywfar-gtk_package() {
short_desc+=" - gtk+2 bindings"
pkg_install() {
vmove usr/lib/*-gtk2*
}
}
gwenhywfar-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
2014-02-23 12:07:49 +01:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
2014-02-23 12:07:49 +01:00
}
}