wok view menu-cache/receipt @ rev 10028

m4: we want --build --host
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 01:20:12 2011 +0200 (2011-05-20)
parents 5babb56c82c9
children 5a739c1304f8
line source
1 # SliTaz package receipt.
3 PACKAGE="menu-cache"
4 VERSION="0.3.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Standard compliant menu library used by LXDE."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base glib libgio"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://lxde.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --libexecdir=/usr/lib/menu-cache \
20 --sysconfdir=/etc \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/menu-cache $fs/usr/lib
32 strip -s $fs/usr/lib/menu-cache/*
33 }