mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
libraries/libtar: Updated for version 1.2.20 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1f6a6234c8
commit
b47450c6e7
2 changed files with 23 additions and 14 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
# Slackware build script for libtar
|
||||
|
||||
# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
|
||||
|
||||
# Copyright 2009 David Woodfall <dave@unrealize.co.uk>
|
||||
# All rights reserved.
|
||||
#
|
||||
|
@ -27,7 +29,8 @@
|
|||
|
||||
|
||||
PRGNAM=libtar
|
||||
VERSION=${VERSION:-1.2.11}
|
||||
VERSION=${VERSION:-1.2.20}
|
||||
SRCVERSION=${SRCVERSION:-0907a9034eaf2a57e8e4a9439f793f3f05d446cd}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -63,16 +66,21 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $PRGNAM
|
||||
if [ -e $CWD/$SRCVERSION.tar.gz ]; then
|
||||
tar xvf $CWD/$SRCVERSION.tar.gz
|
||||
else
|
||||
tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
|
||||
fi
|
||||
cd $PRGNAM
|
||||
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 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
autoreconf -vif
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -81,12 +89,13 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
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
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="libtar"
|
||||
VERSION="1.2.11"
|
||||
VERSION="1.2.20"
|
||||
HOMEPAGE="http://www.feep.net/libtar/"
|
||||
DOWNLOAD="ftp://ftp.feep.net/pub/software/libtar/libtar-1.2.11.tar.gz"
|
||||
MD5SUM="604238e8734ce6e25347a58c4f1a1d7e"
|
||||
DOWNLOAD="http://repo.or.cz/w/libtar.git/snapshot/0907a9034eaf2a57e8e4a9439f793f3f05d446cd.tar.gz"
|
||||
MD5SUM="863a457f6e19763c6c8f5108b85d24cc"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="David Woodfall"
|
||||
EMAIL="dave@dawoodfall.net"
|
||||
MAINTAINER="Ryan P.C. McQuen"
|
||||
EMAIL="ryan.q@linux.com"
|
||||
|
|
Loading…
Reference in a new issue