Browse Source

ap/bogofilter: Upgraded to bogofilter-1.2.1.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
a70d594e6f
  1. 1
      ap/bogofilter/bogofilter-1.1.7.tar.bz2.sha1
  2. 1
      ap/bogofilter/bogofilter-1.2.1.tar.bz2.sha1
  3. 12
      ap/bogofilter/bogofilter.SlackBuild

1
ap/bogofilter/bogofilter-1.1.7.tar.bz2.sha1

@ -1 +0,0 @@
b34e2bf224a2139e080960fb44cf2abe1c35c9b3 ./bogofilter-1.1.7.tar.bz2

1
ap/bogofilter/bogofilter-1.2.1.tar.bz2.sha1

@ -0,0 +1 @@
3a1ebe57b057a5c7ed930995669f7a791fbcecab bogofilter-1.2.1.tar.bz2

12
ap/bogofilter/bogofilter.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009 Damien Goutte-Gattat
# Copyright (C) 2009,2010 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,14 +26,14 @@
# Source package infos
NAMESRC=${NAMESRC:-bogofilter}
VERSION=${VERSION:-1.1.7}
VERSION=${VERSION:-1.2.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://downloads.sourceforge.net/bogofilter/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-bogofilter}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
ARCH=${ARCH:-$(uname -m | sed 's/^i?86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -89,13 +89,9 @@ CXXFLAGS=$CPUOPT \
--localstatedir=/var \
--mandir=/usr/man
make -j $JOBS
make install DESTDIR=$PKG
make install-strip DESTDIR=$PKG
mv $PKG/etc/bogofilter.cf.example $PKG/etc/bogofilter.cf.new
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;

Loading…
Cancel
Save