From 7c3664be13b67b229fcf122e7330df4011de5c34 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 15 May 2009 19:09:20 +0200 Subject: [PATCH] Added libunique-1.0.8 template. --HG-- extra : convert_revision : 839d21368524e1b913c78a69fe17decbbcf46713 --- templates/libunique-devel | 1 + templates/libunique/depends | 2 ++ templates/libunique/devel.template | 18 ++++++++++++++++++ templates/libunique/template | 25 +++++++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 120000 templates/libunique-devel create mode 100644 templates/libunique/depends create mode 100644 templates/libunique/devel.template create mode 100644 templates/libunique/template diff --git a/templates/libunique-devel b/templates/libunique-devel new file mode 120000 index 00000000000..a4f4bebbc83 --- /dev/null +++ b/templates/libunique-devel @@ -0,0 +1 @@ +libunique \ No newline at end of file diff --git a/templates/libunique/depends b/templates/libunique/depends new file mode 100644 index 00000000000..fd71138a425 --- /dev/null +++ b/templates/libunique/depends @@ -0,0 +1,2 @@ +abi_depends=1.0.8 +api_depends=${abi_depends} diff --git a/templates/libunique/devel.template b/templates/libunique/devel.template new file mode 100644 index 00000000000..497d1435958 --- /dev/null +++ b/templates/libunique/devel.template @@ -0,0 +1,18 @@ +# Template file for 'libunique-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libunique + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/templates/libunique/template b/templates/libunique/template new file mode 100644 index 00000000000..4acaa9db464 --- /dev/null +++ b/templates/libunique/template @@ -0,0 +1,25 @@ +# Template file for 'libunique'. +pkgname=libunique +sourcepkg=$pkgname +version=1.0.8 +distfiles="${GNOME_SITE}/$pkgname/1.0/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Library for writing single instance applications" +maintainer="pancake " +checksum=d627a10f523af14e9ead655ebab3a26e7faeea006bdfa7739bc4c04058ddf4c6 +long_desc=" + Unique is a library for writing single instance application. If you launch a + single instance application twice, the second instance will either just quit + or will send a message to the running instance. + + Unique makes it easy to write this kind of applications, by providing a base + class, taking care of all the IPC machinery needed to send messages to a + running instance, and also handling the startup notification side. + + Unique aims to replace the BaconMessageConnection code that has been copied + by many projects and the code using Bonobo and D-Bus." + +subpackages="devel" +Add_dependency full glibc +Add_dependency full gtk+ +Add_dependency full dbus-glib