rev |
line source |
erjo@3654
|
1 # SliTaz package receipt.
|
erjo@3654
|
2
|
erjo@3654
|
3 PACKAGE="claws-mail-spam_report"
|
erjo@5502
|
4 VERSION="0.3.11"
|
jozee@5706
|
5 CATEGORY="network"
|
erjo@3654
|
6 SHORT_DESC="Reports spam to various places"
|
erjo@3654
|
7 MAINTAINER="erjo@slitaz.org"
|
erjo@3654
|
8 DEPENDS="claws-mail"
|
erjo@3654
|
9 BUILD_DEPENDS="claws-mail-dev"
|
erjo@3654
|
10 SOURCE="spam_report"
|
erjo@3654
|
11 TARBALL="$SOURCE-$VERSION.tar.gz"
|
erjo@3654
|
12 WEB_SITE="http://www.claws-mail.org"
|
erjo@3654
|
13 WGET_URL="http://www.claws-mail.org/downloads/plugins/$TARBALL"
|
erjo@3654
|
14
|
erjo@3654
|
15 # Rules to configure and make the package.
|
erjo@3654
|
16 compile_rules()
|
erjo@3654
|
17 {
|
erjo@3654
|
18 cd $src
|
erjo@3654
|
19 ./configure \
|
erjo@3654
|
20 --prefix=/usr \
|
erjo@3654
|
21 --infodir=/usr/share/info \
|
erjo@3654
|
22 --mandir=/usr/share/man \
|
erjo@3654
|
23 $CONFIGURE_ARGS &&
|
erjo@3654
|
24 make && make DESTDIR=$PWD/_pkg install
|
erjo@3654
|
25 }
|
erjo@3654
|
26
|
erjo@3654
|
27 # Rules to gen a SliTaz package suitable for Tazpkg.
|
erjo@3654
|
28 genpkg_rules()
|
erjo@3654
|
29 {
|
pankso@4092
|
30 mkdir -p $fs/usr/lib/claws-mail/plugins
|
erjo@3654
|
31 cp -a $_pkg/usr/lib/claws-mail/plugins/*.so* \
|
erjo@3654
|
32 $fs/usr/lib/claws-mail/plugins
|
erjo@3654
|
33 }
|