wok view gyrus/receipt @ rev 12795

slitaz-base-files: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 09:43:02 2012 +0200 (2012-05-18)
parents 43441506d5f5
children 1ae5963f23df
line source
1 # SliTaz package receipt.
3 PACKAGE="gyrus"
4 VERSION="0.3.8"
5 CATEGORY="network"
6 SHORT_DESC="Small tool for the administration of mailboxes in IMAP/Cyrus servers."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://projects.gnome.org/gyrus/"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gyrus/0.3/$TARBALL"
12 DEPENDS="gtk+ dbus ORBit2 gnet libglade GConf"
13 BUILD_DEPENDS="gtk+ dbus-dev ORBit2-dev gnet-dev libglade-dev GConf-dev \
14 intltool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
28 if ! grep ^Icon= $_pkg/usr/share/applications/gyrus.desktop; then
29 echo 'Icon=web-browser' >> $_pkg/usr/share/applications/gyrus.desktop
30 fi
31 }