wok annotate gyrus/receipt @ rev 20614
palemoon: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 20 21:37:38 2018 +0100 (2018-12-20) |
parents | 17e313b5b9c1 |
children | e3f377fbc5f0 |
rev | line source |
---|---|
pankso@4425 | 1 # SliTaz package receipt. |
pankso@4425 | 2 |
pankso@4425 | 3 PACKAGE="gyrus" |
pankso@4425 | 4 VERSION="0.3.8" |
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" |
pankso@4425 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4425 | 10 WEB_SITE="http://projects.gnome.org/gyrus/" |
pascal@17869 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gyrus/${VERSION%.*}/$TARBALL" |
pankso@4425 | 12 |
pankso@10598 | 13 DEPENDS="gtk+ dbus ORBit2 gnet libglade GConf" |
gokhlayeh@11436 | 14 BUILD_DEPENDS="gtk+ dbus-dev ORBit2-dev gnet-dev libglade-dev GConf-dev \ |
gokhlayeh@11436 | 15 intltool" |
pankso@10598 | 16 |
pankso@4425 | 17 # Rules to configure and make the package. |
pankso@4425 | 18 compile_rules() |
pankso@4425 | 19 { |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" |
pankso@10598 | 21 ./configure $CONFIGURE_ARGS && make && make install |
pankso@4425 | 22 } |
pankso@4425 | 23 |
pankso@4425 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4425 | 25 genpkg_rules() |
pankso@4425 | 26 { |
pankso@4425 | 27 mkdir -p $fs/usr/share |
pascal@15589 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15589 | 29 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pascal@15589 | 30 if ! grep ^Icon= $install/usr/share/applications/gyrus.desktop; then |
pascal@15589 | 31 echo 'Icon=web-browser' >> $install/usr/share/applications/gyrus.desktop |
pankso@4425 | 32 fi |
pankso@4425 | 33 } |