From 880dcf6e3d9c0b2d43f09b601ea41539846553e9 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 16 Dec 2012 18:18:04 -0500 Subject: perl/perl-yaml: Updated Moved and renamed from development/yaml. Signed-off-by: dsomero --- development/yaml/README | 5 --- development/yaml/slack-desc | 19 -------- development/yaml/yaml.SlackBuild | 88 ------------------------------------- development/yaml/yaml.info | 10 ----- perl/perl-yaml/README | 5 +++ perl/perl-yaml/perl-yaml.SlackBuild | 71 ++++++++++++++++++++++++++++++ perl/perl-yaml/perl-yaml.info | 10 +++++ perl/perl-yaml/slack-desc | 19 ++++++++ 8 files changed, 105 insertions(+), 122 deletions(-) delete mode 100644 development/yaml/README delete mode 100644 development/yaml/slack-desc delete mode 100644 development/yaml/yaml.SlackBuild delete mode 100644 development/yaml/yaml.info create mode 100644 perl/perl-yaml/README create mode 100644 perl/perl-yaml/perl-yaml.SlackBuild create mode 100644 perl/perl-yaml/perl-yaml.info create mode 100644 perl/perl-yaml/slack-desc diff --git a/development/yaml/README b/development/yaml/README deleted file mode 100644 index 63cebbdd2464..000000000000 --- a/development/yaml/README +++ /dev/null @@ -1,5 +0,0 @@ -The YAML.pm module implements a YAML Loader and Dumper based on -the YAML 1.0 specification. -YAML is a generic data serialization language that is optimized -for human readability. It can be used to express the data -structures of most modern programming languages. diff --git a/development/yaml/slack-desc b/development/yaml/slack-desc deleted file mode 100644 index 0770ad9bcca7..000000000000 --- a/development/yaml/slack-desc +++ /dev/null @@ -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. -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: diff --git a/development/yaml/yaml.SlackBuild b/development/yaml/yaml.SlackBuild deleted file mode 100644 index de38b637e1c9..000000000000 --- a/development/yaml/yaml.SlackBuild +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh - -# Slackware build script for yaml - -# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# 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 -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 - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -SRCNAM=$(echo $PRGNAM | tr [:lower:] [:upper:]) - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -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/ - -# Remove perlocal.pod and .packlist from $PKG -( for i in perllocal.pod .packlist; do - find $PKG -name "$i" -exec rm -rf {} \; - done -) - -# 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 -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/yaml/yaml.info b/development/yaml/yaml.info deleted file mode 100644 index e1d9068ab577..000000000000 --- a/development/yaml/yaml.info +++ /dev/null @@ -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" diff --git a/perl/perl-yaml/README b/perl/perl-yaml/README new file mode 100644 index 000000000000..63cebbdd2464 --- /dev/null +++ b/perl/perl-yaml/README @@ -0,0 +1,5 @@ +The YAML.pm module implements a YAML Loader and Dumper based on +the YAML 1.0 specification. +YAML is a generic data serialization language that is optimized +for human readability. It can be used to express the data +structures of most modern programming languages. diff --git a/perl/perl-yaml/perl-yaml.SlackBuild b/perl/perl-yaml/perl-yaml.SlackBuild new file mode 100644 index 000000000000..12b8ba49b833 --- /dev/null +++ b/perl/perl-yaml/perl-yaml.SlackBuild @@ -0,0 +1,71 @@ +#!/bin/sh + +# Slackware build script for perl-yaml + +# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=perl-yaml +SRCNAM=YAML +VERSION=0.84 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +echo "y" | perl Makefile.PL INSTALLDIRS=vendor +make +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr/ +find $PKG/usr/man -type f -exec gzip -9 {} \; + +# Remove perlocal.pod and .packlist from $PKG +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 {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes MANIFEST README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/perl/perl-yaml/perl-yaml.info b/perl/perl-yaml/perl-yaml.info new file mode 100644 index 000000000000..0378605622a6 --- /dev/null +++ b/perl/perl-yaml/perl-yaml.info @@ -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" diff --git a/perl/perl-yaml/slack-desc b/perl/perl-yaml/slack-desc new file mode 100644 index 000000000000..a6cf95bb70b2 --- /dev/null +++ b/perl/perl-yaml/slack-desc @@ -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. +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: -- cgit v1.2.3