# SliTaz package receipt. PACKAGE="bogofilter" VERSION="1.2.2" CATEGORY="network" SHORT_DESC="Mail filter that classifies mail as spam or ham." MAINTAINER="pankso@slitaz.org" DEPENDS="sqlite gsl" BUILD_DEPENDS="sqlite-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://bogofilter.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="mail email filter spam C" # Rules to configure and make the package. compile_rules() { cd $src ./configure --with-database=sqlite3 \ --prefix=/usr --sysconfdir=/etc/bogofilter \ --infodir=/usr/share/info \ --mandir=/usr/share/man $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/etc $fs chmod +x $fs/usr/bin/bf_* }