mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
perl/perl-yaml: Updated Moved and renamed from development/yaml.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
4f9cf9dba4
commit
880dcf6e3d
6 changed files with 37 additions and 54 deletions
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
yaml: yaml (YAML Ain't a Markup Language)
|
||||
yaml:
|
||||
yaml: The YAML.pm module implements a YAML Loader and Dumper based on
|
||||
yaml: the YAML 1.0 specification. <http://www.yaml.org/spec/>
|
||||
yaml: YAML is a generic data serialization language that is optimized
|
||||
yaml: for human readability. It can be used to express the data
|
||||
yaml: structures of most modern programming languages.
|
||||
yaml:
|
||||
yaml: Homepage: http://search.cpan.org/dist/YAML/
|
||||
yaml:
|
||||
yaml:
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="yaml"
|
||||
VERSION="0.71"
|
||||
HOMEPAGE="http://search.cpan.org/dist/YAML/"
|
||||
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/YAML-0.71.tar.gz"
|
||||
MD5SUM="d0f7cf232dd43c28c0e3767d672d6887"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Heinz Wiesinger"
|
||||
EMAIL="pprkut@liwjatan.at"
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for yaml
|
||||
# Slackware build script for perl-yaml
|
||||
|
||||
# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands
|
||||
# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -22,28 +22,19 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=yaml
|
||||
VERSION=0.71
|
||||
PRGNAM=perl-yaml
|
||||
SRCNAM=YAML
|
||||
VERSION=0.84
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
ARCH=noarch
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
SRCNAM=$(echo $PRGNAM | tr [:lower:] [:upper:])
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -59,23 +50,15 @@ echo "y" | perl Makefile.PL INSTALLDIRS=vendor
|
|||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
#Move man-pages to appropriate place
|
||||
mv $PKG/usr/share/man $PKG/usr/
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
|
||||
# Remove perlocal.pod and .packlist from $PKG
|
||||
( for i in perllocal.pod .packlist; do
|
||||
find $PKG -name "$i" -exec rm -rf {} \;
|
||||
done
|
||||
)
|
||||
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
|
||||
|
||||
# Remove empty directories
|
||||
find $PKG -depth -type d -empty -exec rm -rf {} \;
|
||||
|
||||
( 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
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a Changes MANIFEST README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
10
perl/perl-yaml/perl-yaml.info
Normal file
10
perl/perl-yaml/perl-yaml.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="perl-yaml"
|
||||
VERSION="0.84"
|
||||
HOMEPAGE="http://search.cpan.org/dist/YAML/"
|
||||
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/YAML-0.84.tar.gz"
|
||||
MD5SUM="3644f03e3da5d99158963c6613f5ff92"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Heinz Wiesinger"
|
||||
EMAIL="pprkut@liwjatan.at"
|
19
perl/perl-yaml/slack-desc
Normal file
19
perl/perl-yaml/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
perl-yaml: perl-yaml (YAML Ain't a Markup Language)
|
||||
perl-yaml:
|
||||
perl-yaml: The YAML.pm module implements a YAML Loader and Dumper based on
|
||||
perl-yaml: the YAML 1.0 specification. <http://www.yaml.org/spec/>
|
||||
perl-yaml: YAML is a generic data serialization language that is optimized
|
||||
perl-yaml: for human readability. It can be used to express the data
|
||||
perl-yaml: structures of most modern programming languages.
|
||||
perl-yaml:
|
||||
perl-yaml: Homepage: http://search.cpan.org/dist/YAML/
|
||||
perl-yaml:
|
||||
perl-yaml:
|
Loading…
Reference in a new issue