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

get-src2pkg: fix pkg name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:41:25 2013 +0200 (2013-05-14)
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 }