wok-current annotate gyrus/receipt @ rev 5001
[f-g]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 15:33:01 2010 +0100 (2010-02-28) |
parents | 1986049523b8 |
children | a0ef91b8d352 |
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" |
pascal@5001 | 8 DEPENDS="gtk+ dbus ORBit2 gnet libglade GConf" |
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 } |