wok rev 4425

Add gyrus (IMAP/Cyrus admin GUI)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Oct 26 11:12:13 2009 +0100 (2009-10-26)
parents 3ddff9c40a56
children 5576a54b083f
files gyrus/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gyrus/receipt	Mon Oct 26 11:12:13 2009 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gyrus"
     1.7 +VERSION="0.3.8"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Small tool for the administration of mailboxes in IMAP/Cyrus servers."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+ dbus ORBit2 gnet libglade"
    1.12 +BUILD_DEPENDS="gtk+-dev dbus ORBit2-dev gnet-dev libglade-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://projects.gnome.org/gyrus/"
    1.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gyrus/0.3/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		$CONFIGURE_ARGS &&
    1.24 +	make &&
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/share
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.34 +	if ! grep ^Icon= $_pkg/usr/share/applications/gyrus.desktop; then
    1.35 +		echo 'Icon=web-browser' >> $_pkg/usr/share/applications/gyrus.desktop
    1.36 +	fi
    1.37 +}