diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-20 05:35:52 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:26:48 +0000 |
commit | 6a4de107df635105910535bdfa0983ecf0fe1824 (patch) | |
tree | f7248d3859041d358377b93ef6970fee3f007de3 /libraries | |
parent | 726323a5df998eeb7ecee34f829f0c0ee2400394 (diff) |
libraries/lksctp-tools: Remove template comments, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/lksctp-tools/lksctp-tools.SlackBuild | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/libraries/lksctp-tools/lksctp-tools.SlackBuild b/libraries/lksctp-tools/lksctp-tools.SlackBuild index b557dabdbb8b7..50d52190e59ce 100644 --- a/libraries/lksctp-tools/lksctp-tools.SlackBuild +++ b/libraries/lksctp-tools/lksctp-tools.SlackBuild @@ -10,7 +10,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -21,8 +21,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -64,28 +64,22 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --build=$ARCH-slackware-linux -# Compile the application and install it into the $PKG directory make make install DESTDIR=$PKG -# Strip binaries and libraries 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 -# Compress man pages find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -# Remove 'special' files find $PKG -name perllocal.pod \ -o -name ".packlist" \ -o -name "*.bs" \ | xargs rm -f -# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -# Make the package; be sure to leave it in $OUTPUT cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |