diff options
-rw-r--r-- | system/cabextract/cabextract.SlackBuild | 14 | ||||
-rw-r--r-- | system/cabextract/cabextract.info | 6 |
2 files changed, 12 insertions, 8 deletions
diff --git a/system/cabextract/cabextract.SlackBuild b/system/cabextract/cabextract.SlackBuild index aba0f58757..fbe1985678 100644 --- a/system/cabextract/cabextract.SlackBuild +++ b/system/cabextract/cabextract.SlackBuild @@ -24,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cabextract -VERSION=${VERSION:-1.7} +VERSION=${VERSION:-1.9} BUILD=${BUILD:-1} 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 @@ -41,8 +41,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" @@ -81,18 +81,22 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make +make check 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc/wince_cab_format.html $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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 +mkdir -p $PKG/etc/file/magic +install -m 644 doc/magic $PKG/etc/file/magic/mscabinet + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/system/cabextract/cabextract.info b/system/cabextract/cabextract.info index dc7dffcfb9..4da9745e6b 100644 --- a/system/cabextract/cabextract.info +++ b/system/cabextract/cabextract.info @@ -1,8 +1,8 @@ PRGNAM="cabextract" -VERSION="1.7" +VERSION="1.9" HOMEPAGE="https://www.cabextract.org.uk" -DOWNLOAD="https://www.cabextract.org.uk/cabextract-1.7.tar.gz" -MD5SUM="a91cd037a7e3a94de22824ee7139f191" +DOWNLOAD="https://www.cabextract.org.uk/cabextract-1.9.tar.gz" +MD5SUM="c38f4d1920dd4f597c707f16273ad480" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |