diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-07-24 17:28:31 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-26 18:28:10 +0700 |
commit | 4d4b600ea45bc041f5d9a6447bd96052c6909f71 (patch) | |
tree | 6ceb3efa563dc5193bc5a078118110e9dc368fa9 /development/ht/ht.SlackBuild | |
parent | 9bc6073eb60db473e544a564018b6e13b31cd03c (diff) | |
download | slackbuilds-4d4b600ea45bc041f5d9a6447bd96052c6909f71.tar.gz |
development/ht: Removed (duplicate of development/hte).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/ht/ht.SlackBuild')
-rw-r--r-- | development/ht/ht.SlackBuild | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/development/ht/ht.SlackBuild b/development/ht/ht.SlackBuild deleted file mode 100644 index 9b3d046de0..0000000000 --- a/development/ht/ht.SlackBuild +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh - -# Slackware build script for ht - -# Written by Luís Henrique <lmello.009@gmail.com> - -PRGNAM=ht -VERSION=${VERSION:-2.0.21} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$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 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --enable-x11-textmode \ - --enable-release \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -DOCS="AUTHORS COPYING ChangeLog INSTALL KNOWNBUGS NEWS README TODO" - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |