wok-current view gyrus/receipt @ rev 19511

busybox: add hd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 22 15:02:30 2016 +0100 (2016-11-22)
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 }