wok-4.x view menu-cache/receipt @ rev 4839
mirror-tools: add --sources
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 28 16:26:39 2010 +0100 (2010-01-28) |
parents | dded3d385345 |
children | 5babb56c82c9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="menu-cache"
4 VERSION="0.2.5"
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 }