void-packages/srcpkgs/gwenhywfar/template

50 lines
1.2 KiB
Text
Raw Normal View History

2014-02-23 11:07:49 +00:00
# Template file for 'gwenhywfar'
pkgname=gwenhywfar
2014-02-23 13:50:50 +00:00
version=4.10.0beta
revision=1
_dnrel=73
2014-02-23 13:06:19 +00:00
hostmakedepends="pkg-config libgcrypt-devel automake libtool"
makedepends="libgcrypt-devel gnutls-devel gtk+-devel"
configure_args=" --with-guis=gtk2"
2014-02-23 11:07:49 +00:00
build_style="gnu-configure"
maintainer="Enno Boland <eb@s01.de>"
license="LGPL"
homepage="http://www.aquamaniac.de"
short_desc="OS abstraction functions for various projects"
2014-02-23 13:06:19 +00:00
distfiles="http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${_dnrel}&file=01&dummy=gwenhywfar-$version.tar.gz"
2014-02-23 13:50:50 +00:00
checksum=eed4bea07549ddecb0ded107b027385511c6304fcf78412804a4bc6184160fc6
2014-02-23 13:06:19 +00:00
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
2014-02-23 11:07:49 +00:00
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
}
}