diff options
-rw-r--r-- | development/yaml/slack-desc | 19 | ||||
-rw-r--r-- | development/yaml/yaml.info | 10 | ||||
-rw-r--r-- | perl/perl-yaml/README (renamed from development/yaml/README) | 0 | ||||
-rw-r--r-- | perl/perl-yaml/perl-yaml.SlackBuild (renamed from development/yaml/yaml.SlackBuild) | 33 | ||||
-rw-r--r-- | perl/perl-yaml/perl-yaml.info | 10 | ||||
-rw-r--r-- | perl/perl-yaml/slack-desc | 19 |
6 files changed, 37 insertions, 54 deletions
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. <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: 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/development/yaml/README b/perl/perl-yaml/README index 63cebbdd2464..63cebbdd2464 100644 --- a/development/yaml/README +++ b/perl/perl-yaml/README diff --git a/development/yaml/yaml.SlackBuild b/perl/perl-yaml/perl-yaml.SlackBuild index de38b637e1c9..12b8ba49b833 100644 --- a/development/yaml/yaml.SlackBuild +++ b/perl/perl-yaml/perl-yaml.SlackBuild @@ -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 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. <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: |