2014-02-23 12:07:49 +01:00
|
|
|
# Template file for 'gwenhywfar'
|
|
|
|
pkgname=gwenhywfar
|
2015-01-02 11:58:40 +01:00
|
|
|
version=4.13.0
|
|
|
|
revision=1
|
|
|
|
_dnrel=77
|
2014-02-23 14:06:19 +01:00
|
|
|
hostmakedepends="pkg-config libgcrypt-devel automake libtool"
|
|
|
|
makedepends="libgcrypt-devel gnutls-devel gtk+-devel"
|
2014-02-23 12:07:49 +01:00
|
|
|
build_style="gnu-configure"
|
2014-02-24 11:13:22 +01:00
|
|
|
configure_args="--disable-binreloc"
|
2014-02-23 12:07:49 +01:00
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
license="LGPL"
|
|
|
|
homepage="http://www.aquamaniac.de"
|
2014-11-02 15:54:28 +01:00
|
|
|
update_site="http://www.aquamaniac.de/sites/download/packages.php"
|
|
|
|
update_pattern='gwenhywfar-\K[\d.]+(beta)?'
|
2014-02-23 12:07:49 +01:00
|
|
|
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-02 11:58:40 +01:00
|
|
|
checksum=eebd4853d706d86e3852670189ff49d9ed0ec613dafb3455fbae819c1787277b
|
2014-02-23 14:06:19 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
2014-02-23 18:13:11 +01:00
|
|
|
libtoolize -f
|
2014-02-23 14:06:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
2014-02-23 18:13:11 +01:00
|
|
|
makedepends+=" qt-devel"
|
2014-02-23 14:06:19 +01:00
|
|
|
gwenhywfar-qt_package() {
|
|
|
|
short_desc+=" - qt4 bindings"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*-qt4*
|
|
|
|
}
|
|
|
|
}
|
2014-02-24 11:13:22 +01:00
|
|
|
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() {
|
2014-02-23 18:13:11 +01:00
|
|
|
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
|
2014-02-23 18:13:11 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-23 12:07:49 +01:00
|
|
|
}
|
|
|
|
}
|