void-packages/srcpkgs/GConf/GConf-devel.template
2011-03-04 14:37:40 +01:00

38 lines
1.1 KiB
Text

# Template file for 'GConf-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run pkg-config
Add_dependency run intltool
Add_dependency run glib-devel
Add_dependency run dbus-devel
Add_dependency run gtk+3-devel
Add_dependency run dbus-glib-devel
Add_dependency run ORBit2-devel
Add_dependency run polkit-devel
Add_dependency run libxml2-devel
Add_dependency run GConf
do_install()
{
install -d ${DESTDIR}/usr/lib/GConf/2 ${DESTDIR}/usr/{bin,share}
install -d ${DESTDIR}/usr/lib/gio/modules
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/{gir*,sgml,aclocal,gtk-doc} \
${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/lib/GConf/2/*.*a ${DESTDIR}/usr/lib/GConf/2
mv ${SRCPKGDESTDIR}/usr/lib/gio/modules/*.a \
${DESTDIR}/usr/lib/gio/modules
# Install gconf-merge-schema
install -m755 ${FILESDIR}/gconf-merge-schema.sh \
${DESTDIR}/usr/bin/gconf-merge-schema
}