wok-next view menu-cache/receipt @ rev 5982
nut: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 13 21:34:30 2010 +0200 (2010-08-13) |
parents | cc86e5544131 |
children | 50f89a1e4792 |
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 BUILD_DEPENDS="slitaz-toolchain"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://lxde.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib/menu-cache \
21 --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/menu-cache $fs/usr/lib
33 strip -s $fs/usr/lib/menu-cache/*
34 }