summaryrefslogtreecommitdiffstats
path: root/system/bulk_extractor/bulk_extractor.SlackBuild
diff options
context:
space:
mode:
author Barry J. Grundy2014-11-14 03:20:58 +0100
committer Willy Sudiarto Raharjo2014-11-14 03:20:58 +0100
commit83e6b72e7e0c66540944501a5e0e94bc8e37215d (patch)
treeb8931f20b3695d812bbefa1d497619848e5df0b7 /system/bulk_extractor/bulk_extractor.SlackBuild
parentb95188286350c72bd5e887a7d89d9f8dbf2529b4 (diff)
downloadslackbuilds-83e6b72e7e0c66540944501a5e0e94bc8e37215d.tar.gz
system/bulk_extractor: Updated for version 1.5.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/bulk_extractor/bulk_extractor.SlackBuild')
-rw-r--r--system/bulk_extractor/bulk_extractor.SlackBuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/system/bulk_extractor/bulk_extractor.SlackBuild b/system/bulk_extractor/bulk_extractor.SlackBuild
index 96ccb243ff..903aa717aa 100644
--- a/system/bulk_extractor/bulk_extractor.SlackBuild
+++ b/system/bulk_extractor/bulk_extractor.SlackBuild
@@ -22,13 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# edited for v 1.5.0 August 2014
+# edited for v 1.5.5 November 2014 - added LightGrep option.
PRGNAM=bulk_extractor
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-1.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+LIGHTGREP_ENABLE=${LIGHTGREP_ENABLE:-no}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -71,6 +73,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Optional liblightgrep support (LIGHTGREP_ENABLE=yes)
+if [ "$LIGHTGREP_ENABLE" = "yes" ]; then
+ with_lightgrep="--enable-lightgrep"
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,6 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--build=$ARCH-slackware-linux \
+ $with_lightgrep
make
make install DESTDIR=$PKG
@@ -91,7 +99,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar AUTHORS COPYING ChangeLog INSTALL NEWS README ROADMAP.txt doc/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar AUTHORS COPYING ChangeLog INSTALL NEWS README doc/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 644 {} \;