wok-6.x annotate bogofilter/receipt @ rev 15894
libnl: remove devel files (save space on ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 12 22:53:55 2014 +0100 (2014-02-12) |
parents | 02bbaa9d12ba |
children | 7e2791244ffc |
rev | line source |
---|---|
pankso@40 | 1 # SliTaz package receipt. |
pankso@40 | 2 |
pankso@40 | 3 PACKAGE="bogofilter" |
slaxemulator@7699 | 4 VERSION="1.2.2" |
pankso@203 | 5 CATEGORY="network" |
pankso@40 | 6 SHORT_DESC="Mail filter that classifies mail as spam or ham." |
pankso@40 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2 GPL3" |
pankso@40 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@40 | 10 WEB_SITE="http://bogofilter.sourceforge.net/" |
pankso@40 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@3567 | 12 TAGS="mail email filter spam C" |
pankso@40 | 13 |
pascal@15579 | 14 DEPENDS="sqlite gsl" |
pascal@15579 | 15 BUILD_DEPENDS="sqlite-dev" |
pascal@15579 | 16 |
pankso@40 | 17 # Rules to configure and make the package. |
pankso@40 | 18 compile_rules() |
pankso@40 | 19 { |
pankso@40 | 20 cd $src |
pankso@40 | 21 ./configure --with-database=sqlite3 \ |
pankso@40 | 22 --prefix=/usr --sysconfdir=/etc/bogofilter \ |
pankso@40 | 23 --infodir=/usr/share/info \ |
pascal@1491 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1491 | 25 make && |
pascal@15579 | 26 make DESTDIR=$DESTDIR install |
pankso@40 | 27 } |
pankso@40 | 28 |
pankso@40 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@40 | 30 genpkg_rules() |
pankso@40 | 31 { |
pankso@40 | 32 mkdir -p $fs/usr |
pascal@15579 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 34 cp -a $install/etc $fs |
pankso@116 | 35 chmod +x $fs/usr/bin/bf_* |
pankso@40 | 36 } |