void-packages/srcpkgs/xfconf/template
2014-05-24 09:48:11 +02:00

41 lines
1.2 KiB
Text

# Template file for 'xfconf'
pkgname=xfconf
version=4.10.0
revision=5
build_style=gnu-configure
hostmakedepends="pkg-config intltool>=0.50.2_1"
makedepends="dbus-glib-devel libxfce4util-devel"
short_desc="Xfce hierarchical (tree-like) configuration system"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://xfce.org"
distfiles="http://archive.xfce.org/src/xfce/xfconf/${version%.*}/$pkgname-$version.tar.bz2"
checksum=175219a441cc7d0f210bbd1a3b0abba41598627cd9db27235811400c3e100576
# Package build options
build_options="perl"
desc_option_perl="Enable support for perl bindings"
if [ "$build_option_perl" ]; then
configure_args+=" --enable-perl-bindings"
makedepends+=" perl>=5.16 perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib>=1.242_1"
else
configure_args+=" --disable-perl-bindings"
fi
if [ "$build_option_perl" ]; then
replaces="xfconf-perl>=0"
provides="xfconf-perl-${version}"
depends="perl-Glib>=1.242_1"
fi
xfconf-devel_package() {
depends="dbus-glib-devel xfconf>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}