Added menu-cache-0.2.6 build template.

--HG--
extra : convert_revision : 4486185d8f8eba6e784f2c1be8260818ffe77a7f
This commit is contained in:
Juan RP 2010-01-08 14:24:48 +01:00
parent 88cddb4b98
commit 74b87dd2f8
4 changed files with 46 additions and 0 deletions

1
srcpkgs/menu-cache-devel Symbolic link
View File

@ -0,0 +1 @@
menu-cache

View File

@ -0,0 +1,2 @@
abi_depends=">=0.2.6"
api_depends="${abi_depends}"

View File

@ -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
}

View File

@ -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 <xtraeme@gmail.com>"
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