wok-next view menu-cache/receipt @ rev 12942

libxcb: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 17:31:03 2012 +0200 (2012-05-30)
parents 50f89a1e4792
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://lxde.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 DEPENDS="glibc-base glib libgio slitaz-menus"
13 BUILD_DEPENDS="glib-dev libgio-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib/menu-cache \
22 --sysconfdir=/etc \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/menu-cache $fs/usr/lib
34 strip -s $fs/usr/lib/menu-cache/*
35 }