summaryrefslogtreecommitdiff
path: root/network/htscanner/htscanner.SlackBuild
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-05-12 17:43:27 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:43:27 +0200
commit8e73901373ae175d7f613d75f418884902107c75 (patch)
tree23f43d8ddc21f2c2f44398cd869aee46f2d125c4 /network/htscanner/htscanner.SlackBuild
parent4435bd3842ccfb0a803839ad7111b8ae9efa4278 (diff)
downloadslackbuilds-8e73901373ae175d7f613d75f418884902107c75.tar.gz
network/htscanner: Updated for version 0.9.0
Diffstat (limited to 'network/htscanner/htscanner.SlackBuild')
-rw-r--r--network/htscanner/htscanner.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/network/htscanner/htscanner.SlackBuild b/network/htscanner/htscanner.SlackBuild
index e75492ffda..1cf1d84d9b 100644
--- a/network/htscanner/htscanner.SlackBuild
+++ b/network/htscanner/htscanner.SlackBuild
@@ -1,14 +1,14 @@
#!/bin/sh
# Slackware build script for htscanner
-# Written by Menno E. Duursma <druiloor@zonnet.nl>
+# Written by Menno Duursma <druiloor@zonnet.nl>
# This program is free software. It comes without any warranty.
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=htscanner
-VERSION=${VERSION:-0.8.1}
+VERSION=${VERSION:-0.9.0}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -16,7 +16,7 @@ TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -49,22 +49,22 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--enable-htscanner
-# Compile
make
# Copy it over by hand (as per the README)
mkdir -p $PKG/usr/lib/php/extensions
install --mode=755 --strip modules/htscanner.so $PKG/usr/lib/php/extensions
+install -D --mode=644 docs/htscanner.ini $PKG/etc/php/htscanner.ini.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a [A-Z][A-Z]* docs/htscanner.ini \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CREDITS README ../package.xml $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
+chown -R root:root $PKG/usr/doc
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
-# Make the package; be sure to leave it in $OUTPUT
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz