wok view sylpheed/receipt @ rev 164

Add gimp.desktop for freedesktop menu
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 28 21:00:10 2008 +0100 (2008-01-28)
parents 4959e5789caa
children b236b93f6795
line source
1 # SliTaz package receipt.
3 PACKAGE="sylpheed"
4 VERSION="2.4.8"
5 CATEGORY="extra"
6 SHORT_DESC="Simple, lightweight but featureful, and easy-to-use e-mail client"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://sylpheed.sraoss.jp/en/"
11 WGET_URL="http://sylpheed.sraoss.jp/sylpheed/v2.4/$TARBALL"
12 JWM_MENU='Internet:<Program icon="sylpheed.png" label="Sylpheed">sylpheed</Program><Program icon="internet-mail.png" label="Sylpheed Compose">sylpheed --compose</Program>'
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/pixmaps \
29 $fs/usr/share/applications \
30 $fs/usr/share/locale
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $src/sylpheed.png $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 strip -s $fs/usr/bin/*
35 # Desktop entry
36 cp -a stuff/sylpheed.desktop $fs/usr/share/applications
37 }