wok view gyrus/receipt @ rev 25757

xfce4-mixer: modified CFLAGS
author Hans-G?nter Theisgen
date Sun Sep 01 14:44:29 2024 +0100 (2 months ago)
parents 6a4ee5a11320
children
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 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
28 ./configure $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/$PACKAGE $fs/usr/share
40 if ! grep ^Icon= $install/usr/share/applications/gyrus.desktop; then
41 echo 'Icon=web-browser' >> $install/usr/share/applications/gyrus.desktop
42 fi
43 }