summaryrefslogtreecommitdiff
path: root/network/felinks/felinks.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/felinks/felinks.SlackBuild')
-rw-r--r--network/felinks/felinks.SlackBuild19
1 files changed, 6 insertions, 13 deletions
diff --git a/network/felinks/felinks.SlackBuild b/network/felinks/felinks.SlackBuild
index a47562cb9c..2331689b7c 100644
--- a/network/felinks/felinks.SlackBuild
+++ b/network/felinks/felinks.SlackBuild
@@ -25,8 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=felinks
SRCNAM=elinks
-VERSION=${VERSION:-08da1d8}
-COMMIT=${COMMIT:-08da1d87eb74e082ca7aae8c81d2518a4415f3a7}
+VERSION=${VERSION:-0.15.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,9 +72,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$COMMIT
-tar xvf $CWD/$SRCNAM-$COMMIT.tar.?z
-cd $SRCNAM-$COMMIT
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -83,11 +82,6 @@ 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 {} \;
-for patch in $CWD/patches/*; do
- printf "\n%s\n" "Applying Patch $( basename $patch )"
- patch --verbose -p1 < $patch
-done
-
## System
[ "${FASTMEM:-no}" = "yes" ] && fastmem="--enable-fastmem"
[ "${DEBUG:-no}" = "yes" ] && debug="--enable-debug --disable-fastmem"
@@ -183,9 +177,8 @@ LDFLAGS="$SLKLDFLAGS" \
# Don't clobber the one supplied by glibc-i18n.
rm -f $PKG/usr/share/locale/locale.alias
-if [ "$DEBUG" = "no" ]; then
- 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
+if [ "${DEBUG:-no}" = "no" ]; then
+ strip --strip-unneeded $PKG/usr/bin/$SRCNAM
fi
find $PKG/usr/man -type f -exec gzip -9 {} \;