wok-current annotate claws-mail-attremover/receipt @ rev 12824
linux: add ARM patch, improve receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 22 11:26:32 2012 +0200 (2012-05-22) |
parents | fd3690918927 |
children | 800291e731e3 |
rev | line source |
---|---|
erjo@1321 | 1 # SliTaz package receipt. |
erjo@1321 | 2 |
erjo@1321 | 3 PACKAGE="claws-mail-attremover" |
erjo@5500 | 4 VERSION="1.0.12" |
pascal@1423 | 5 CATEGORY="network" |
erjo@1321 | 6 SHORT_DESC="claws-mail plugin - Remove attachments from emails." |
erjo@1321 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2513 | 8 DEPENDS="claws-mail xorg-libXdamage" |
pascal@10567 | 9 BUILD_DEPENDS="pkg-config claws-mail-dev gnutls-dev" |
erjo@1321 | 10 SOURCE="att_remover" |
erjo@1321 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@1321 | 12 WEB_SITE="http://www.claws-mail.org/plugins.php?section=downloads" |
erjo@1321 | 13 WGET_URL="http://www.claws-mail.org/downloads/plugins/$TARBALL" |
erjo@1321 | 14 |
erjo@1321 | 15 # Rules to configure and make the package. |
erjo@1321 | 16 compile_rules() |
erjo@1321 | 17 { |
erjo@1321 | 18 cd $src |
erjo@1321 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1480 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1480 | 21 make && |
erjo@1321 | 22 make DESTDIR=$PWD/_pkg install |
erjo@1321 | 23 } |
erjo@1321 | 24 |
erjo@1321 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1321 | 26 genpkg_rules() |
erjo@1321 | 27 { |
erjo@1321 | 28 mkdir -p $fs/usr/lib/claws-mail/plugins |
erjo@1321 | 29 cp -a $_pkg/usr/lib/claws-mail/plugins/*.so* $fs/usr/lib/claws-mail/plugins/ |
erjo@1321 | 30 } |