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