mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
perl/perl-XML-Stream: Updated for version 1.24.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
82a2dbe1aa
commit
5c1c6b05d8
4 changed files with 19 additions and 21 deletions
|
@ -1,3 +1,3 @@
|
|||
XML::Stream - Creates an XMl Stream connection and parses return data
|
||||
XML::Stream - Creates an XML Stream connection and parses return data.
|
||||
|
||||
XML::Stream is an attempt at solidifying the use of XML via streaming.
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for perl-XML-Stream
|
||||
|
||||
# Copyright 2013 Christopher Walker Copperas Cove, TX
|
||||
# Copyright 2019, Alexander Verbovetsky, Moscow, Russia
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,13 +24,15 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=perl-XML-Stream
|
||||
VERSION=${VERSION:-1.23}
|
||||
VERSION=${VERSION:-1.24}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -45,15 +48,15 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf XML-Stream-$VERSION
|
||||
tar xvf $CWD/XML-Stream-$VERSION.tar.gz
|
||||
cd XML-Stream-$VERSION
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||
cd $SRCNAM-$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 {} \;
|
||||
|
||||
perl Makefile.PL \
|
||||
PREFIX=/usr \
|
||||
|
@ -66,15 +69,10 @@ make install DESTDIR=$PKG
|
|||
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
|
||||
|
||||
find $PKG -name "perllocal.pod" \
|
||||
-o -name ".packlist" \
|
||||
-o -name "*.bs" \
|
||||
| xargs rm -f
|
||||
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
CHANGES INFO LICENSE.LGPL README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a CHANGES INFO LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="perl-XML-Stream"
|
||||
VERSION="1.23"
|
||||
VERSION="1.24"
|
||||
HOMEPAGE="https://metacpan.org/pod/XML::Stream"
|
||||
DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAPATRICK/XML-Stream-1.23.tar.gz"
|
||||
MD5SUM="1c0908384fe57a1c3c529071a8b882af"
|
||||
DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAPATRICK/XML-Stream-1.24.tar.gz"
|
||||
MD5SUM="62717494479cba3746bfeab73d2f955c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="perl-Authen-SASL"
|
||||
|
|
|
@ -10,7 +10,7 @@ perl-XML-Stream: perl-XML-Stream (Creates an XML Stream connection)
|
|||
perl-XML-Stream:
|
||||
perl-XML-Stream: XML::Stream is an attempt at solidifying the use of XML via streaming.
|
||||
perl-XML-Stream:
|
||||
perl-XML-Stream: Homepage: https://metacpan.org/release/DAPATRICK/XML-Stream-1.23
|
||||
perl-XML-Stream: Homepage: https://metacpan.org/pod/XML::Stream
|
||||
perl-XML-Stream:
|
||||
perl-XML-Stream:
|
||||
perl-XML-Stream:
|
||||
|
|
Loading…
Reference in a new issue