From fbec524388e8c69623ca6a90e2396a200acc6cd4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 20 Mar 2009 06:38:35 +0100 Subject: [PATCH] Added dbus-glib-0.80 template. --HG-- extra : convert_revision : ebf6446ac08f5741c27cf0c4783841ac404581b6 --- templates/dbus-glib-devel | 1 + templates/dbus-glib/depends | 2 ++ templates/dbus-glib/devel.template | 19 +++++++++++++++++++ templates/dbus-glib/template | 25 +++++++++++++++++++++++++ 4 files changed, 47 insertions(+) create mode 120000 templates/dbus-glib-devel create mode 100644 templates/dbus-glib/depends create mode 100644 templates/dbus-glib/devel.template create mode 100644 templates/dbus-glib/template diff --git a/templates/dbus-glib-devel b/templates/dbus-glib-devel new file mode 120000 index 0000000000..f794fe3c54 --- /dev/null +++ b/templates/dbus-glib-devel @@ -0,0 +1 @@ +dbus-glib \ No newline at end of file diff --git a/templates/dbus-glib/depends b/templates/dbus-glib/depends new file mode 100644 index 0000000000..cfd1cfc62c --- /dev/null +++ b/templates/dbus-glib/depends @@ -0,0 +1,2 @@ +abi_depends=0.80 +api_depends=${abi_depends} diff --git a/templates/dbus-glib/devel.template b/templates/dbus-glib/devel.template new file mode 100644 index 0000000000..99093bfb4c --- /dev/null +++ b/templates/dbus-glib/devel.template @@ -0,0 +1,19 @@ +# Template file for 'dbus-glib-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run dbus-glib + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib +} diff --git a/templates/dbus-glib/template b/templates/dbus-glib/template new file mode 100644 index 0000000000..effd144e35 --- /dev/null +++ b/templates/dbus-glib/template @@ -0,0 +1,25 @@ +# Template file for 'dbus-glib' +pkgname=dbus-glib +sourcepkg=$pkgname +version=0.80 +distfiles=" +http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz" +build_style=gnu_configure +configure_args="--enable-static=no --enable-bash-completion=no" +short_desc="GLib bindings for D-Bus" +maintainer="Juan RP " +checksum=b5330b91b3131757103da2b3147e211e71214475f5d77640022ea9bb587f645b +long_desc=" + D-Bus add-on library to integrate the standard D-Bus library with + the GLib thread abstraction and main loop." + +subpackages="devel" +Add_dependency full glibc +Add_dependency full glib +Add_dependency build dbus +Add_dependency run dbus-libs + +post_install() +{ + rm -rf ${DESTDIR}/etc +}