diff options
Diffstat (limited to 'network/felinks/felinks.SlackBuild')
-rw-r--r-- | network/felinks/felinks.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/network/felinks/felinks.SlackBuild b/network/felinks/felinks.SlackBuild index b03f8422b84d..064a8dc49b47 100644 --- a/network/felinks/felinks.SlackBuild +++ b/network/felinks/felinks.SlackBuild @@ -22,6 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=felinks +SRCNAM=elinks VERSION=${VERSION:-08da1d8} COMMIT=${COMMIT:-08da1d87eb74e082ca7aae8c81d2518a4415f3a7} BUILD=${BUILD:-1} @@ -41,10 +42,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # Added -fno-strict-aliasing -Wno-pointer-sign for a much more peaceful build -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i586" ]; then +if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -65,9 +63,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$COMMIT -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z -cd $PRGNAM-$COMMIT +rm -rf $SRCNAM-$COMMIT +tar xvf $CWD/$PRGNAM-$COMMIT.tar.?z +cd $SRCNAM-$COMMIT chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |