gwenhywfar: multiple improvements to the -devel pkg.

This commit is contained in:
Juan RP 2014-02-23 18:13:11 +01:00
parent b909e612a5
commit 6262f407f5
1 changed files with 5 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'gwenhywfar'
pkgname=gwenhywfar
version=4.10.0beta
revision=1
revision=2
_dnrel=73
hostmakedepends="pkg-config libgcrypt-devel automake libtool"
makedepends="libgcrypt-devel gnutls-devel gtk+-devel"
@ -14,17 +14,13 @@ 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=eed4bea07549ddecb0ded107b027385511c6304fcf78412804a4bc6184160fc6
configure_args="--disable-binreloc"
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-guis=gtk2"
else
makedepends+=" qt-devel"
fi
pre_configure() {
libtoolize
libtoolize -f
}
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" qt-devel"
gwenhywfar-qt_package() {
short_desc+=" - qt4 bindings"
pkg_install() {
@ -41,9 +37,11 @@ gwenhywfar-gtk_package() {
}
gwenhywfar-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}