aboutsummaryrefslogtreecommitdiff
path: root/system/lzip
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundy@linuxleo.com>2014-12-05 04:34:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-05 04:34:47 +0700
commitd60dbefb826cadde9304f1c5f00aeb1d36cbe316 (patch)
tree43d0d366278079dd2bd8f1546a3ab12ff9283205 /system/lzip
parentcb374d294b53bc1fc1a6c03799b82713ec8ba392 (diff)
system/lzip: Updated for version 1.16.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/lzip')
-rw-r--r--system/lzip/lzip.SlackBuild25
-rw-r--r--system/lzip/lzip.info6
2 files changed, 12 insertions, 19 deletions
diff --git a/system/lzip/lzip.SlackBuild b/system/lzip/lzip.SlackBuild
index 982bf051856e..ba3af43f84db 100644
--- a/system/lzip/lzip.SlackBuild
+++ b/system/lzip/lzip.SlackBuild
@@ -22,16 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Updated for version 1.14 March 2013.
-# Updated for version 1.15 November 2013.
+# Updated for version 1.16 November 2014.
PRGNAM=lzip
-VERSION=1.15
+VERSION=${VERSION:-1.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRC_VERSION=$(echo $VERSION | tr _ -)
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -63,27 +60,23 @@ set -e # exit on most errors
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-$SRC_VERSION
+rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz
-cd $PRGNAM-$SRC_VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
+ -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
- --build=$ARCH-slackware-linux
make CFLAGS+="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
diff --git a/system/lzip/lzip.info b/system/lzip/lzip.info
index ca1a4db26979..8608a3ca8646 100644
--- a/system/lzip/lzip.info
+++ b/system/lzip/lzip.info
@@ -1,8 +1,8 @@
PRGNAM="lzip"
-VERSION="1.15"
+VERSION="1.16"
HOMEPAGE="http://www.nongnu.org/lzip/lzip.html"
-DOWNLOAD="http://download.savannah.gnu.org/releases/lzip/lzip-1.15.tar.gz"
-MD5SUM="e83a364c8544fc66cccb552369d93220"
+DOWNLOAD="http://download.savannah.gnu.org/releases/lzip/lzip-1.16.tar.gz"
+MD5SUM="716a9876dc595ec52d4f3bda81e42471"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""