system/xar: Updated for version 1.6.1 + New maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Philip Lacroix 2015-11-07 10:16:09 +07:00 committed by Willy Sudiarto Raharjo
parent 46d61a73d9
commit 43b424f08c
4 changed files with 46 additions and 40 deletions

View File

@ -1,8 +1,12 @@
The XAR project aims to provide an easily extensible archive format. Important
design decisions include an easily extensible XML table of contents for random
access to archived files, storing the toc at the beginning of the archive to
allow for efficient handling of streamed archives, the ability to handle files
of arbitrarily large sizes, the ability to choose independent encodings for
individual files in the archive, the ability to store checksums for individual
files in both compressed and uncompressed form, and the ability to query the
table of content's rich meta-data.
access to archived files; storing the table at the beginning of the archive to
allow for efficient handling of streamed archives; the ability to handle files
of arbitrarily large sizes; the ability to choose independent encodings for
individual files in the archive; the ability to store checksums for individual
files in both compressed and uncompressed form; the ability to query the table
of content's rich meta-data.
NOTE: This script builds a fork of the original XAR project developed by Rob
Braun at code.google.com. The forked project includes several bug fixes and
enhancements.

View File

@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
xar: xar (eXtensible ARchiver)
xar:
xar: The XAR project aims to provide an easily extensible archive format.
xar:
xar:
xar:
xar:
xar:
xar:
xar:
xar: XAR provides an easily extensible archive format. An XML table of
xar: contents, stored at the beginning of the archive, allows for random
xar: access to the archived files. XAR can handle files of arbitrarily
xar: large sizes, is able to encode individual files in the archive
xar: independently, can store checksums for individual files in both
xar: compressed and uncompressed form, can query the rich metadata of
xar: the table of contents.
xar:
xar: Homepage: https://mackyle.github.io/xar/

View File

@ -1,8 +1,10 @@
#!/bin/sh
# Slackware build script for xar.
# Slackware build script for xar
# Copyright 2010-2011 Marco Bonetti <sid77 at slackware dot it>
# Copyright 2015 Philip Lacroix <slackph at posteo dot de>
#
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xar
VERSION=${VERSION:-1.5.2}
VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -61,40 +63,40 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
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 640 -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 \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
PRGMAN=$PKG/usr/man/man1
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Compress man page.
gzip -9 $PRGMAN/$PRGNAM.1
# Install documentation.
mkdir -p $PRGDOC
cp -a ChangeLog INSTALL LICENSE NEWS $PRGDOC
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View File

@ -1,10 +1,10 @@
PRGNAM="xar"
VERSION="1.5.2"
HOMEPAGE="http://code.google.com/p/xar/"
DOWNLOAD="http://xar.googlecode.com/files/xar-1.5.2.tar.gz"
MD5SUM="8eabb055d3387b8edc30ecfb08d2e80d"
VERSION="1.6.1"
HOMEPAGE="https://mackyle.github.io/xar/"
DOWNLOAD="https://cloud.github.com/downloads/mackyle/xar/xar-1.6.1.tar.gz"
MD5SUM="a624535d6a1e8fdf420b36a6b334047b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
MAINTAINER="Philip Lacroix"
EMAIL="slackph at posteo dot de"