From 61a6adc3f38842d038fa2ee060362035b078db87 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 22 Mar 2009 04:33:42 +0100 Subject: [PATCH] Added ConsoleKit-0.3.0 template. --HG-- extra : convert_revision : 0077e8bf460af81378cace9447fea738e26444c8 --- templates/ConsoleKit-devel | 1 + templates/ConsoleKit-x11 | 1 + templates/ConsoleKit/depends | 2 ++ templates/ConsoleKit/devel.template | 20 +++++++++++++++++++ templates/ConsoleKit/template | 30 +++++++++++++++++++++++++++++ templates/ConsoleKit/x11.template | 15 +++++++++++++++ 6 files changed, 69 insertions(+) create mode 120000 templates/ConsoleKit-devel create mode 120000 templates/ConsoleKit-x11 create mode 100644 templates/ConsoleKit/depends create mode 100644 templates/ConsoleKit/devel.template create mode 100644 templates/ConsoleKit/template create mode 100644 templates/ConsoleKit/x11.template diff --git a/templates/ConsoleKit-devel b/templates/ConsoleKit-devel new file mode 120000 index 00000000000..40b65353bb4 --- /dev/null +++ b/templates/ConsoleKit-devel @@ -0,0 +1 @@ +ConsoleKit \ No newline at end of file diff --git a/templates/ConsoleKit-x11 b/templates/ConsoleKit-x11 new file mode 120000 index 00000000000..40b65353bb4 --- /dev/null +++ b/templates/ConsoleKit-x11 @@ -0,0 +1 @@ +ConsoleKit \ No newline at end of file diff --git a/templates/ConsoleKit/depends b/templates/ConsoleKit/depends new file mode 100644 index 00000000000..8f0b0358f09 --- /dev/null +++ b/templates/ConsoleKit/depends @@ -0,0 +1,2 @@ +abi_depends=6.0 +api_depends=${abi_depends} diff --git a/templates/ConsoleKit/devel.template b/templates/ConsoleKit/devel.template new file mode 100644 index 00000000000..c1a7225fd61 --- /dev/null +++ b/templates/ConsoleKit/devel.template @@ -0,0 +1,20 @@ +# Template file for 'ConsoleKit-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run ConsoleKit + +do_install() +{ + mkdir -p ${DESTDIR}/lib/security + mkdir -p ${DESTDIR}/usr/lib + + mv ${SRCPKGDESTDIR}/lib/security/*.la ${DESTDIR}/lib/security + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.la ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/templates/ConsoleKit/template b/templates/ConsoleKit/template new file mode 100644 index 00000000000..1e13024b977 --- /dev/null +++ b/templates/ConsoleKit/template @@ -0,0 +1,30 @@ +# Template file for 'ConsoleKit' +pkgname=ConsoleKit +sourcepkg=$pkgname +version=0.3.0 +distfiles="http://people.freedesktop.org/~mccann/dist/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--disable-docbook-docs --enable-pam-module --localstatedir=/var" +short_desc="Framework for defining and tracking users, login sessions and seats" +maintainer="Juan RP " +checksum=cbcfbb3df2dc76855c99c1cdff04a257ec5270fa62e1d21b0d057b08d88c0fd4 +long_desc=" + ConsoleKit is a framework for keeping track of the various users, sessions, + and seats present on a system. It provides a mechanism for software to react + to changes of any of these items or of any of the metadata associated with + them." + +conf_files="/etc/dbus-1/system.d/ConsoleKit.conf + /etc/ConsoleKit/seats.d/00-primary.seat" + +subpackages="devel x11" +Add_dependency full glibc +Add_dependency full dbus +Add_dependency full dbus-glib +Add_dependency full glib +Add_dependency full zlib +Add_dependency full pam +Add_dependency full PolicyKit +Add_dependency full readline +Add_dependency build libX11 +Add_dependency build pkg-config diff --git a/templates/ConsoleKit/x11.template b/templates/ConsoleKit/x11.template new file mode 100644 index 00000000000..8a89e66ded5 --- /dev/null +++ b/templates/ConsoleKit/x11.template @@ -0,0 +1,15 @@ +# Template file for 'ConsoleKit-x11'. +# +short_desc="${sourcepkg} X11-requiring add-ons" +long_desc="${long_desc} + + This package contains some tools that require X libraries." + +Add_dependency run ConsoleKit +Add_dependency run libX11 + +do_install() +{ + mkdir -p ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/libexec ${DESTDIR}/usr +}