wok-4.x view lxmenu-data/receipt @ rev 10841

locale-zh_CN: Fixed post_install and post_remove to be only work when not being installed with --root option.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jun 10 02:24:41 2011 +0800 (2011-06-10)
parents 023b4c1e9cee
children a55d1788b231
line source
1 # SliTaz package receipt.
3 PACKAGE="lxmenu-data"
4 VERSION="0.1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Freedesktop.org menu-spec-compliant desktop menus for LXDE."
7 MAINTAINER="rcx@zoominternet.net"
8 BUILD_DEPENDS="gettext intltool"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.lxde.org/"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 CONFIG_FILES="/etc/xdg/menus/lxde-applications.menu"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
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
30 cp -a $_pkg/usr $fs
31 cp -a $_pkg/etc $fs
32 }