wok-current view gyrus/receipt @ rev 17869

Use VERSION variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 09:34:19 2015 +0100 (2015-03-26)
parents 17e313b5b9c1
children e3f377fbc5f0
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://projects.gnome.org/gyrus/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gyrus/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ dbus ORBit2 gnet libglade GConf"
14 BUILD_DEPENDS="gtk+ dbus-dev ORBit2-dev gnet-dev libglade-dev GConf-dev \
15 intltool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/share/$PACKAGE $fs/usr/share
30 if ! grep ^Icon= $install/usr/share/applications/gyrus.desktop; then
31 echo 'Icon=web-browser' >> $install/usr/share/applications/gyrus.desktop
32 fi
33 }