wok annotate claws-mail-python/receipt @ rev 13661
ccid: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 21 21:52:14 2012 +0100 (2012-11-21) |
parents | da5ccbc63f9b |
children | 2b9f96603415 |
rev | line source |
---|---|
erjo@13451 | 1 # SliTaz package receipt. |
erjo@13451 | 2 |
erjo@13451 | 3 PACKAGE="claws-mail-python" |
erjo@13451 | 4 VERSION="0.10" |
erjo@13451 | 5 CATEGORY="network" |
erjo@13451 | 6 SHORT_DESC="Python interface to Claws Mail' filtering mechanism." |
erjo@13451 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@13451 | 8 WEB_SITE="http://www.claws-mail.org/plugins.php" |
erjo@13451 | 9 SOURCE="python_plugin" |
erjo@13451 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@13451 | 11 WGET_URL="http://www.claws-mail.org/downloads/plugins/$TARBALL" |
erjo@13451 | 12 |
pascal@13456 | 13 DEPENDS="claws-mail pygtk" |
pascal@13456 | 14 BUILD_DEPENDS="claws-mail-dev python-dev pygtk-dev" |
erjo@13451 | 15 |
erjo@13451 | 16 # Rules to configure and make the package. |
erjo@13451 | 17 compile_rules() |
erjo@13451 | 18 { |
erjo@13451 | 19 ./configure $CONFIGURE_ARGS && make && make install |
erjo@13451 | 20 } |
erjo@13451 | 21 |
erjo@13451 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13451 | 23 genpkg_rules() |
erjo@13451 | 24 { |
erjo@13451 | 25 mkdir -p $fs/usr/lib/claws-mail/plugins |
erjo@13451 | 26 cp -a $install/usr/lib/claws-mail/plugins/*.so \ |
erjo@13451 | 27 $fs/usr/lib/claws-mail/plugins |
erjo@13451 | 28 } |