wok annotate gyrus/receipt @ rev 15110
Add some LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 18:02:00 2013 +0000 (2013-08-14) |
parents | 45b96f953c46 |
children | d1c17bd2c2bc |
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" |
gokhlayeh@11436 | 13 BUILD_DEPENDS="gtk+ dbus-dev ORBit2-dev gnet-dev libglade-dev GConf-dev \ |
gokhlayeh@11436 | 14 intltool" |
pankso@10598 | 15 |
pankso@4425 | 16 # Rules to configure and make the package. |
pankso@4425 | 17 compile_rules() |
pankso@4425 | 18 { |
pascal@15110 | 19 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm" |
pankso@10598 | 20 ./configure $CONFIGURE_ARGS && make && make install |
pankso@4425 | 21 } |
pankso@4425 | 22 |
pankso@4425 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4425 | 24 genpkg_rules() |
pankso@4425 | 25 { |
pankso@4425 | 26 mkdir -p $fs/usr/share |
pankso@4425 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@4425 | 28 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@4425 | 29 if ! grep ^Icon= $_pkg/usr/share/applications/gyrus.desktop; then |
pankso@4425 | 30 echo 'Icon=web-browser' >> $_pkg/usr/share/applications/gyrus.desktop |
pankso@4425 | 31 fi |
pankso@4425 | 32 } |