wok-4.x view mtpaint/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 efc4bde14c2d
children 3e49b81bce66
line source
1 # SliTaz package receipt.
3 PACKAGE="mtpaint"
4 VERSION="3.20"
5 CATEGORY="extra"
6 SHORT_DESC="Light paint programm and image manipulation."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://mtpaint.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 JWM_MENU='Graphics:<Program icon="mtpaint.xpm" label="mtPaint">mtpaint</Program><Program icon="camera-photo.png" label="Grab screenshot">mtpaint -s</Program>'
14 # Rules to configure and make the package.
15 #
16 # SliTaz use Tango icons, so we convert some for mtPaint.
17 #
18 compile_rules()
19 {
20 cp -a stuff/icons-tango $src/src
21 cd $src
22 ./configure --cpu=i486 --prefix=/usr intl icons-tango
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \
30 $fs/usr/share/pixmaps
31 cp -a $src/src/mtpaint $fs/usr/bin
32 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo
33 cp -a $src/src/icons1/icon.xpm $fs/usr/share/pixmaps/mtpaint.xpm
34 strip -s $fs/usr/bin/*
35 }