From 74b87dd2f8aa3a29ed5e9cbf821647a4b51880de Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 Jan 2010 14:24:48 +0100 Subject: [PATCH] Added menu-cache-0.2.6 build template. --HG-- extra : convert_revision : 4486185d8f8eba6e784f2c1be8260818ffe77a7f --- srcpkgs/menu-cache-devel | 1 + srcpkgs/menu-cache/depends | 2 ++ srcpkgs/menu-cache/menu-cache-devel.template | 18 ++++++++++++++ srcpkgs/menu-cache/template | 25 ++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 120000 srcpkgs/menu-cache-devel create mode 100644 srcpkgs/menu-cache/depends create mode 100644 srcpkgs/menu-cache/menu-cache-devel.template create mode 100644 srcpkgs/menu-cache/template diff --git a/srcpkgs/menu-cache-devel b/srcpkgs/menu-cache-devel new file mode 120000 index 0000000000..321d8d4149 --- /dev/null +++ b/srcpkgs/menu-cache-devel @@ -0,0 +1 @@ +menu-cache \ No newline at end of file diff --git a/srcpkgs/menu-cache/depends b/srcpkgs/menu-cache/depends new file mode 100644 index 0000000000..5943d4eaa0 --- /dev/null +++ b/srcpkgs/menu-cache/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.2.6" +api_depends="${abi_depends}" diff --git a/srcpkgs/menu-cache/menu-cache-devel.template b/srcpkgs/menu-cache/menu-cache-devel.template new file mode 100644 index 0000000000..bc2d125e7b --- /dev/null +++ b/srcpkgs/menu-cache/menu-cache-devel.template @@ -0,0 +1,18 @@ +# Template file for 'menu-cache-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glib-devel +Add_dependency run menu-cache + +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 +} diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template new file mode 100644 index 0000000000..2ca496d80d --- /dev/null +++ b/srcpkgs/menu-cache/template @@ -0,0 +1,25 @@ +# Template file for 'menu-cache' +pkgname=menu-cache +version=0.2.6 +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="LXDE freedesktop menu specification" +maintainer="Juan RP " +checksum=fdaeba2126bf9860c05711f428ee1195aa549cf2c1a3390ecbe81179fee47d4d +long_desc=" + menu-cache is a library creating and utilizing caches to speed up the + manipulation for freedesktop.org defined application menus. It can be used + as a replacement of libgnome-menu of gnome-menus. + + * Shorten time for loading menu entries. + * Ease of use. (API is very similar to that of libgnome-menu) + * Lightweight runtime library. (Parsing of the menu definition files + are done by menu-cache-gen when the menus are really changed.) + * Less unnecessary and complicated file monitoring. + * Heavily reduced disk I/O." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run glib +Add_dependency build pkg-config +Add_dependency build glib-devel