wok-4.x view xpad/receipt @ rev 153

Add JWM_MENU infos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 26 19:03:45 2008 +0100 (2008-01-26)
parents 6805779fbeec
children 4e795cf8f4ce
line source
1 # SliTaz package receipt.
3 PACKAGE="xpad"
4 VERSION="2.12"
5 CATEGORY="extra"
6 SHORT_DESC="Desktop note pad using GTK+ toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://xpad.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 JWM_MENU='Utilities:<Program icon="xpad.png" label="Xpad">xpad</Program>'
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --mandir=/usr/share/man \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale/fr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
31 strip -s $fs/usr/bin/*
32 }