wok-current view gyrus/receipt @ rev 15158
gmerlin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 17:45:49 2013 +0000 (2013-08-15) |
parents | 45b96f953c46 |
children | d1c17bd2c2bc |
line source
1 # SliTaz package receipt.
3 PACKAGE="gyrus"
4 VERSION="0.3.8"
5 CATEGORY="network"
6 SHORT_DESC="Small tool for the administration of mailboxes in IMAP/Cyrus servers."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://projects.gnome.org/gyrus/"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gyrus/0.3/$TARBALL"
12 DEPENDS="gtk+ dbus ORBit2 gnet libglade GConf"
13 BUILD_DEPENDS="gtk+ dbus-dev ORBit2-dev gnet-dev libglade-dev GConf-dev \
14 intltool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
29 if ! grep ^Icon= $_pkg/usr/share/applications/gyrus.desktop; then
30 echo 'Icon=web-browser' >> $_pkg/usr/share/applications/gyrus.desktop
31 fi
32 }