summaryrefslogtreecommitdiffstats
path: root/source/a/bzip2/bzip2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/bzip2/bzip2.SlackBuild')
-rwxr-xr-xsource/a/bzip2/bzip2.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/a/bzip2/bzip2.SlackBuild b/source/a/bzip2/bzip2.SlackBuild
index ce0c7ea7c..419530702 100755
--- a/source/a/bzip2/bzip2.SlackBuild
+++ b/source/a/bzip2/bzip2.SlackBuild
@@ -23,9 +23,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=bzip2
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-SOLIB=1.0.6
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+SOLIB=${VERSION}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -59,7 +59,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf bzip2-$VERSION
-tar xzvf $CWD/bzip2-$VERSION.tar.gz || exit 1
+tar xvf $CWD/bzip2-$VERSION.tar.?z || exit 1
cd bzip2-$VERSION || exit 1
chown -R root:root .
# This should be ok, since libbz2.so.1.0 will still exist.