void-packages/srcpkgs/GConf/template
2011-11-01 05:44:19 +01:00

47 lines
1.5 KiB
Text

# Template file for 'GConf'
pkgname=GConf
version=3.2.3
distfiles="${GNOME_SITE}/GConf/3.2/GConf-$version.tar.xz"
build_style=gnu-configure
configure_args="--without-openldap --with-gtk=3.0 --enable-defaults-service
--disable-orbit"
short_desc="A process-transparent configuration system"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://projects.gnome.org/gconf"
license="GPL-2"
checksum=9eb55dd1d009b6eba9c32e3fae87d3aa45a33629a5e2031ed9f5acb05efaa149
long_desc="
GConf is a process-transparent configuration database API used to
store user preferences. It has pluggable backends and features to
support workgroup administration."
conf_files="/etc/gconf/2/path"
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run glib
Add_dependency run dbus-libs
Add_dependency run gtk+3
Add_dependency run dbus-glib
Add_dependency run polkit
Add_dependency run libxml2
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gtk+3-devel
Add_dependency build dbus-glib-devel
Add_dependency build polkit-devel
Add_dependency build libxml2-devel
Add_dependency build gobject-introspection
post_install()
{
# Create GCONF_SCHEMAS_DIR
install -d ${DESTDIR}/usr/share/gconf/schemas
touch -f ${DESTDIR}/usr/share/gconf/schemas/.empty_on_purpose
# Create required sysconfdir dirs.
for d in defaults mandatory system; do
install -d ${DESTDIR}/etc/gconf/gconf.xml.${d}
touch -f ${DESTDIR}/etc/gconf/gconf.xml.${d}/.empty_on_purpose
done
}