wok annotate gyrus/receipt @ rev 10871
gpodder: Fixed genpkg_rules. Saved 150kb off the package size.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jun 19 11:45:40 2011 +0000 (2011-06-19) |
parents | 88b2c10621bf |
children | 45b96f953c46 |
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" |
pankso@4425 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4425 | 9 WEB_SITE="http://projects.gnome.org/gyrus/" |
pankso@4425 | 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gyrus/0.3/$TARBALL" |
pankso@4425 | 11 |
pankso@10598 | 12 DEPENDS="gtk+ dbus ORBit2 gnet libglade GConf" |
pankso@10598 | 13 BUILD_DEPENDS="gtk+ dbus-dev ORBit2-dev gnet-dev libglade-dev GConf-dev" |
pankso@10598 | 14 |
pankso@4425 | 15 # Rules to configure and make the package. |
pankso@4425 | 16 compile_rules() |
pankso@4425 | 17 { |
pankso@10598 | 18 ./configure $CONFIGURE_ARGS && make && make install |
pankso@4425 | 19 } |
pankso@4425 | 20 |
pankso@4425 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4425 | 22 genpkg_rules() |
pankso@4425 | 23 { |
pankso@4425 | 24 mkdir -p $fs/usr/share |
pankso@4425 | 25 cp -a $_pkg/usr/bin $fs/usr |
pankso@4425 | 26 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@4425 | 27 if ! grep ^Icon= $_pkg/usr/share/applications/gyrus.desktop; then |
pankso@4425 | 28 echo 'Icon=web-browser' >> $_pkg/usr/share/applications/gyrus.desktop |
pankso@4425 | 29 fi |
pankso@4425 | 30 } |