menu-cache: disable static, set -devel noarch.

This commit is contained in:
Juan RP 2012-10-11 10:02:48 +02:00
parent cc443d52b4
commit e45288e905
2 changed files with 7 additions and 9 deletions

View file

@ -1,16 +1,14 @@
# Template file for 'menu-cache-devel'. # Template file for 'menu-cache-devel'.
# #
depends="glib-devel menu-cache" noarch=yes
depends="glib-devel ${sourcepkg}-${version}_${revision}"
short_desc="${sourcepkg} development files" short_desc="${sourcepkg} development files"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
do_install() {
do_install()
{
mkdir -p ${DESTDIR}/usr/lib mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
} }

View file

@ -1,12 +1,14 @@
# Template file for 'menu-cache' # Template file for 'menu-cache'
pkgname=menu-cache pkgname=menu-cache
version=0.3.2 version=0.3.2
revision=3 revision=4
distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" subpackages="$pkgname-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static"
makedepends="pkg-config glib-devel" makedepends="pkg-config glib-devel"
short_desc="LXDE freedesktop menu specification" short_desc="LXDE freedesktop menu specification"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz"
checksum=6b7c1627b5102d8301a8a3e845f673a7181a71dde32f6455abf22d03e392b89f checksum=6b7c1627b5102d8301a8a3e845f673a7181a71dde32f6455abf22d03e392b89f
long_desc=" long_desc="
menu-cache is a library creating and utilizing caches to speed up the menu-cache is a library creating and utilizing caches to speed up the
@ -19,5 +21,3 @@ long_desc="
are done by menu-cache-gen when the menus are really changed.) are done by menu-cache-gen when the menus are really changed.)
* Less unnecessary and complicated file monitoring. * Less unnecessary and complicated file monitoring.
* Heavily reduced disk I/O." * Heavily reduced disk I/O."
subpackages="$pkgname-devel"