wok-next annotate claws-mail-archive/receipt @ rev 10122
merge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 22:15:25 2011 +0200 (2011-05-20) |
parents | da1eeac12953 |
children | e99e1ad5c22e |
rev | line source |
---|---|
erjo@3655 | 1 # SliTaz package receipt. |
erjo@3655 | 2 |
erjo@3655 | 3 PACKAGE="claws-mail-archive" |
erjo@5499 | 4 VERSION="0.6.7" |
jozee@5706 | 5 CATEGORY="network" |
erjo@3655 | 6 SHORT_DESC="claws-mail archiving features" |
erjo@3655 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@4999 | 8 DEPENDS="claws-mail libarchive acl liblzma bzlib" |
slaxemulator@6965 | 9 BUILD_DEPENDS="claws-mail-dev gnutls-dev enchant-dev libxml2-dev libarchive-dev attr-dev acl-dev liblzma-dev pkg-config" |
erjo@3655 | 10 SOURCE="archive" |
erjo@3655 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@3655 | 12 WEB_SITE="http://www.claws-mail.org" |
erjo@3655 | 13 WGET_URL="http://www.claws-mail.org/downloads/plugins/$TARBALL" |
erjo@3655 | 14 |
erjo@3655 | 15 # Rules to configure and make the package. |
erjo@3655 | 16 compile_rules() |
erjo@3655 | 17 { |
erjo@3655 | 18 cd $src |
erjo@3655 | 19 ./configure \ |
erjo@3655 | 20 --prefix=/usr \ |
erjo@3655 | 21 --infodir=/usr/share/info \ |
erjo@3655 | 22 --mandir=/usr/share/man \ |
erjo@3655 | 23 $CONFIGURE_ARGS && |
erjo@3655 | 24 make && make DESTDIR=$PWD/_pkg install |
erjo@3655 | 25 } |
erjo@3655 | 26 |
erjo@3655 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3655 | 28 genpkg_rules() |
erjo@3655 | 29 { |
erjo@3655 | 30 mkdir -p $fs/usr/lib/claws-mail/plugins \ |
erjo@3655 | 31 $fs/usr/share/locale |
erjo@3655 | 32 |
erjo@3655 | 33 cp -a $_pkg/usr/lib/claws-mail/plugins/*.so* \ |
erjo@3655 | 34 $fs/usr/lib/claws-mail/plugins |
pascal@4213 | 35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@3655 | 36 } |
erjo@3655 | 37 |