wok-6.x view gyrus/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | cfae89507105 |
children | 6831608a1b2a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gyrus"
4 VERSION="0.3.12"
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 WEB_SITE="https://wiki.gnome.org/Attic/Gyrus"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="dbus GConf gnet gtk+ libglade ORBit2"
15 BUILD_DEPENDS="dbus-dev GConf-dev gnet-dev gtk+ intltool libglade-dev ORBit2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
22 ./configure $CONFIGURE_ARGS &&
23 make -j 1 &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/$PACKAGE $fs/usr/share
34 if ! grep ^Icon= $install/usr/share/applications/gyrus.desktop; then
35 echo 'Icon=web-browser' >> $install/usr/share/applications/gyrus.desktop
36 fi
37 }