aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2018-11-07 09:05:09 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:46:56 +0700
commitece0597b266ea15c528a6b062382c50ff60f7f75 (patch)
tree25b22c5d5aa221e576ce98ffd82a541515aaccea
parent06ccc9490feb24bc26beed6761f261d1de78c4e2 (diff)
system/cabextract: Updated for version 1.9.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--system/cabextract/cabextract.SlackBuild14
-rw-r--r--system/cabextract/cabextract.info6
2 files changed, 12 insertions, 8 deletions
diff --git a/system/cabextract/cabextract.SlackBuild b/system/cabextract/cabextract.SlackBuild
index aba0f587577e..fbe1985678fd 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 dc7dffcfb97d..4da9745e6be5 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=""