wok annotate gyrus/receipt @ rev 24990

idesk: imlib2 >= 1.7.5 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 13 20:03:04 2022 +0000 (2022-05-13)
parents 6a4ee5a11320
children
rev   line source
pankso@4425 1 # SliTaz package receipt.
pankso@4425 2
pankso@4425 3 PACKAGE="gyrus"
Hans-G?nter@21023 4 VERSION="0.3.12"
pankso@4425 5 CATEGORY="network"
pankso@4425 6 SHORT_DESC="Small tool for the administration of mailboxes in IMAP/Cyrus servers."
pankso@4425 7 MAINTAINER="pankso@slitaz.org"
pascal@15589 8 LICENSE="GPL2"
Hans-G?nter@21023 9 WEB_SITE="https://wiki.gnome.org/Attic/Gyrus"
Hans-G?nter@21023 10
Hans-G?nter@21024 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21023 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@4425 13
Hans-G?nter@21023 14 DEPENDS="dbus GConf gnet gtk+ libglade ORBit2"
Hans-G?nter@21023 15 BUILD_DEPENDS="dbus-dev GConf-dev gnet-dev gtk+ intltool libglade-dev ORBit2-dev"
pankso@10598 16
pascal@24111 17 current_version()
pascal@24111 18 {
pascal@24111 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 21 }
pascal@24111 22
pankso@4425 23 # Rules to configure and make the package.
pankso@4425 24 compile_rules()
pankso@4425 25 {
pascal@17670 26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
Hans-G?nter@21023 27
Hans-G?nter@21023 28 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21023 29 make -j 1 &&
Hans-G?nter@21023 30 make install
pankso@4425 31 }
pankso@4425 32
pankso@4425 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4425 34 genpkg_rules()
pankso@4425 35 {
pankso@4425 36 mkdir -p $fs/usr/share
Hans-G?nter@21023 37
Hans-G?nter@21023 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21023 39 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pascal@15589 40 if ! grep ^Icon= $install/usr/share/applications/gyrus.desktop; then
pascal@15589 41 echo 'Icon=web-browser' >> $install/usr/share/applications/gyrus.desktop
pankso@4425 42 fi
pankso@4425 43 }