summaryrefslogtreecommitdiff
path: root/libraries/libhtp/libhtp.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-12-17 05:45:23 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-19 22:41:36 +0700
commitd4a552db5fcb8d3cf275a3701189ff3477ae00da (patch)
tree8df9400ffe02de915f47afaa55c4ff8b880d5fb1 /libraries/libhtp/libhtp.SlackBuild
parent57403cc4b133f5ec110ebbbfbd6827aaa5040e06 (diff)
downloadslackbuilds-d4a552db5fcb8d3cf275a3701189ff3477ae00da.tar.gz
libraries/libhtp: Updated for version 0.5.16.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries/libhtp/libhtp.SlackBuild')
-rw-r--r--libraries/libhtp/libhtp.SlackBuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/libraries/libhtp/libhtp.SlackBuild b/libraries/libhtp/libhtp.SlackBuild
index 44455a8052..1253818686 100644
--- a/libraries/libhtp/libhtp.SlackBuild
+++ b/libraries/libhtp/libhtp.SlackBuild
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libhtp
-SRCNAM=htp
-VERSION=${VERSION:-0.2.14}
+VERSION=${VERSION:-0.5.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,6 +69,7 @@ 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 {} \;
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -88,11 +88,6 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild