51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
# Template file for 'gwenhywfar'
|
|
pkgname=gwenhywfar
|
|
version=4.12.0beta
|
|
revision=2
|
|
_dnrel=76
|
|
hostmakedepends="pkg-config libgcrypt-devel automake libtool"
|
|
makedepends="libgcrypt-devel gnutls-devel gtk+-devel"
|
|
build_style="gnu-configure"
|
|
configure_args="--disable-binreloc"
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
license="LGPL"
|
|
homepage="http://www.aquamaniac.de"
|
|
update_site="http://www.aquamaniac.de/sites/download/packages.php"
|
|
update_pattern='gwenhywfar-\K[\d.]+(beta)?'
|
|
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=bbc7d64baaa005173699e1d5bac3b427e26f4fd0702e2fff25450ee24a4b59d2
|
|
|
|
pre_configure() {
|
|
libtoolize -f
|
|
}
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
makedepends+=" qt-devel"
|
|
gwenhywfar-qt_package() {
|
|
short_desc+=" - qt4 bindings"
|
|
pkg_install() {
|
|
vmove usr/lib/*-qt4*
|
|
}
|
|
}
|
|
else
|
|
configure_args+=" --with-guis=gtk2"
|
|
fi
|
|
|
|
gwenhywfar-gtk_package() {
|
|
short_desc+=" - gtk+2 bindings"
|
|
pkg_install() {
|
|
vmove usr/lib/*-gtk2*
|
|
}
|
|
}
|
|
|
|
gwenhywfar-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|