wok annotate gyrus/receipt @ rev 4908

Up: slitaz-doc (3.1) - Provide now a getting started guide
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 12 22:25:57 2010 +0100 (2010-02-12)
parents
children 9f19aee613be
rev   line source
pankso@4425 1 # SliTaz package receipt.
pankso@4425 2
pankso@4425 3 PACKAGE="gyrus"
pankso@4425 4 VERSION="0.3.8"
pankso@4425 5 CATEGORY="network"
pankso@4425 6 SHORT_DESC="Small tool for the administration of mailboxes in IMAP/Cyrus servers."
pankso@4425 7 MAINTAINER="pankso@slitaz.org"
pankso@4425 8 DEPENDS="gtk+ dbus ORBit2 gnet libglade"
pankso@4425 9 BUILD_DEPENDS="gtk+-dev dbus ORBit2-dev gnet-dev libglade-dev"
pankso@4425 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4425 11 WEB_SITE="http://projects.gnome.org/gyrus/"
pankso@4425 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gyrus/0.3/$TARBALL"
pankso@4425 13
pankso@4425 14 # Rules to configure and make the package.
pankso@4425 15 compile_rules()
pankso@4425 16 {
pankso@4425 17 cd $src
pankso@4425 18 ./configure \
pankso@4425 19 --prefix=/usr \
pankso@4425 20 $CONFIGURE_ARGS &&
pankso@4425 21 make &&
pankso@4425 22 make DESTDIR=$PWD/_pkg install
pankso@4425 23 }
pankso@4425 24
pankso@4425 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4425 26 genpkg_rules()
pankso@4425 27 {
pankso@4425 28 mkdir -p $fs/usr/share
pankso@4425 29 cp -a $_pkg/usr/bin $fs/usr
pankso@4425 30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
pankso@4425 31 if ! grep ^Icon= $_pkg/usr/share/applications/gyrus.desktop; then
pankso@4425 32 echo 'Icon=web-browser' >> $_pkg/usr/share/applications/gyrus.desktop
pankso@4425 33 fi
pankso@4425 34 }