wok-6.x view gyrus/receipt @ rev 4480
grub2: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 12 13:14:16 2009 +0100 (2009-11-12) |
parents | |
children | 9f19aee613be |
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 DEPENDS="gtk+ dbus ORBit2 gnet libglade"
9 BUILD_DEPENDS="gtk+-dev dbus ORBit2-dev gnet-dev libglade-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://projects.gnome.org/gyrus/"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gyrus/0.3/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
31 if ! grep ^Icon= $_pkg/usr/share/applications/gyrus.desktop; then
32 echo 'Icon=web-browser' >> $_pkg/usr/share/applications/gyrus.desktop
33 fi
34 }