wok-stable annotate sylpheed/receipt @ rev 160

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