diff options
Diffstat (limited to 'perl')
601 files changed, 19964 insertions, 0 deletions
diff --git a/perl/SDL_perl/README b/perl/SDL_perl/README new file mode 100644 index 0000000000000..89c1b4cef43a1 --- /dev/null +++ b/perl/SDL_perl/README @@ -0,0 +1,2 @@ +SDL_perl - Simple DirectMedia Library Bindings for Perl +This is glue (bindings) between SDL and Perl. diff --git a/perl/SDL_perl/SDL_perl.SlackBuild b/perl/SDL_perl/SDL_perl.SlackBuild new file mode 100644 index 0000000000000..e94f39ff006eb --- /dev/null +++ b/perl/SDL_perl/SDL_perl.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh +# +# Slackware build script for SDL_perl +# +# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA +# 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=SDL_perl +VERSION=1.20.0 +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# configure doesn't take prefix/sysconfdir/... but things land in +# the appropriate places anyway. +CFLAGS="$SLKCFLAGS" ./configure + +make +make install_vendor 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 + +mv $PKG/usr/share/man $PKG/usr/man +( 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 +) + +( cd $PKG + find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f + # No empty directories + find . -type d -depth -exec rmdir {} \; 2>/dev/null +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a BUGS CHANGELOG COPYING README TODO test/ $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/SDL_perl/SDL_perl.info b/perl/SDL_perl/SDL_perl.info new file mode 100644 index 0000000000000..a769fcda7ee08 --- /dev/null +++ b/perl/SDL_perl/SDL_perl.info @@ -0,0 +1,10 @@ +PRGNAM="SDL_perl" +VERSION="1.20.0" +HOMEPAGE="http://sdl.perl.org/" +DOWNLOAD="http://zarb.org/~gc/t/SDL_perl-1.20.0.tar.gz" +MD5SUM="041617aec124677083ecef04aa48f927" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="BP{k}" diff --git a/perl/SDL_perl/slack-desc b/perl/SDL_perl/slack-desc new file mode 100644 index 0000000000000..4356a5f23b40a --- /dev/null +++ b/perl/SDL_perl/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------------------------------------------------------| +SDL_perl: SDL_perl (Simple DirectMedia Library Bindings for Perl) +SDL_perl: +SDL_perl: SDL_perl is glue (bindings) between SDL and Perl. +SDL_perl: +SDL_perl: Homepage: http://sdl.perl.org/ +SDL_perl: +SDL_perl: +SDL_perl: +SDL_perl: +SDL_perl: +SDL_perl: diff --git a/perl/libwww-perl/README b/perl/libwww-perl/README new file mode 100644 index 0000000000000..b61fa2c2226e2 --- /dev/null +++ b/perl/libwww-perl/README @@ -0,0 +1,24 @@ +libwww-perl - WWW client/server library for perl + +This is a set of Perl modules which provides a simple and consistent +application programming interface to the World-Wide Web. The main focus of +the library is to provide classes and functions that allow you to write +WWW clients. The library also contain modules that are of more general +use and even classes that help you implement simple HTTP servers. + +It includes the following perl modules: Bundle::LWP, File::Listing, +HTML::Form, HTTP::Cookies, HTTP::Cookies::Microsoft, HTTP::Cookies::Netscape, +HTTP::Daemon, HTTP::Date, HTTP::Headers, HTTP::Headers::Auth, +HTTP::Headers::ETag, HTTP::Headers::Util, HTTP::Message, HTTP::Negotiate, +HTTP::Request, HTTP::Request::Common, HTTP::Response, HTTP::Status, LWP, +LWP::Authen::Basic, LWP::Authen::Digest, LWP::Authen::Ntlm, LWP::ConnCache, +LWP::Debug, LWP::DebugFile, LWP::MediaTypes, LWP::MemberMixin, LWP::Protocol, +LWP::Protocol::GHTTP, LWP::Protocol::cpan, LWP::Protocol::data, +LWP::Protocol::file, LWP::Protocol::ftp, LWP::Protocol::gopher, +LWP::Protocol::http, LWP::Protocol::http10, LWP::Protocol::https, +LWP::Protocol::https10, LWP::Protocol::loopback, LWP::Protocol::mailto, +LWP::Protocol::nntp, LWP::Protocol::nogo, LWP::RobotUA, LWP::Simple, +LWP::UserAgent, Net::HTTP, Net::HTTP::Methods, Net::HTTP::NB, Net::HTTPS, +WWW::RobotRules, WWW::RobotRules::AnyDBM_File. + +This requires perl-html-parser and perl-html-tagset. diff --git a/perl/libwww-perl/libwww-perl.SlackBuild b/perl/libwww-perl/libwww-perl.SlackBuild new file mode 100644 index 0000000000000..53d71e4dd3ea5 --- /dev/null +++ b/perl/libwww-perl/libwww-perl.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for libwww-perl + +# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it> +# 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=libwww-perl +VERSION=${VERSION:-5.837} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCFILES="AUTHORS Changes README README.SSL" + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +echo "y" | perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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 + +# Compress man pages +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 + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCFILES $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/libwww-perl/libwww-perl.info b/perl/libwww-perl/libwww-perl.info new file mode 100644 index 0000000000000..5cdff758cf696 --- /dev/null +++ b/perl/libwww-perl/libwww-perl.info @@ -0,0 +1,10 @@ +PRGNAM="libwww-perl" +VERSION="5.837" +HOMEPAGE="http://search.cpan.org/dist/libwww-perl/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.837.tar.gz" +MD5SUM="9bbf1bce482b0bac98bb4f04253c03d0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="rworkman" diff --git a/perl/libwww-perl/slack-desc b/perl/libwww-perl/slack-desc new file mode 100644 index 0000000000000..aee050c9e0858 --- /dev/null +++ b/perl/libwww-perl/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---------------------------------------------------| +libwww-perl: libwww-perl (WWW client/server library for perl) +libwww-perl: +libwww-perl: It is a set of Perl modules which provides a simple and consistent +libwww-perl: application programming interface to the World-Wide Web. The main +libwww-perl: focus of the library is to provide classes and functions that +libwww-perl: allow you to write WWW clients. The library also contain modules +libwww-perl: that are of more general use and even classes that help you +libwww-perl: implement simple HTTP servers. +libwww-perl: +libwww-perl: Homepage: http://search.cpan.org/dist/libwww-perl +libwww-perl: diff --git a/perl/perl-AppConfig/README b/perl/perl-AppConfig/README new file mode 100644 index 0000000000000..8be1ae676a974 --- /dev/null +++ b/perl/perl-AppConfig/README @@ -0,0 +1,4 @@ +AppConfig is a Perl5 module for managing application configuration +information. It maintains the state of any number of variables and +provides methods for parsing configuration files, command line +arguments and CGI script parameters. diff --git a/perl/perl-AppConfig/perl-AppConfig.SlackBuild b/perl/perl-AppConfig/perl-AppConfig.SlackBuild new file mode 100644 index 0000000000000..d519b786540e5 --- /dev/null +++ b/perl/perl-AppConfig/perl-AppConfig.SlackBuild @@ -0,0 +1,66 @@ +#!/bin/sh + +# Slackware build script for perl-AppConfig +# Written by Thomas Morper <thomas@beingboiled.info> + +SRCNAM=AppConfig +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.66} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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" -empty | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes LICENSE MANIFEST README TODO \ + $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-AppConfig/perl-AppConfig.info b/perl/perl-AppConfig/perl-AppConfig.info new file mode 100644 index 0000000000000..4e61c8687db1d --- /dev/null +++ b/perl/perl-AppConfig/perl-AppConfig.info @@ -0,0 +1,10 @@ +PRGNAM="perl-AppConfig" +VERSION="1.66" +HOMEPAGE="http://search.cpan.org/~abw/AppConfig/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AB/ABW/AppConfig-1.66.tar.gz" +MD5SUM="21aa4d1bf70a49a94c2dc9293389b3a0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" +APPROVED="Erik Hanson" diff --git a/perl/perl-AppConfig/slack-desc b/perl/perl-AppConfig/slack-desc new file mode 100644 index 0000000000000..9dd4042926cfb --- /dev/null +++ b/perl/perl-AppConfig/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-AppConfig: perl-AppConfig (module for reading config files and arguments) +perl-AppConfig: +perl-AppConfig: AppConfig is a Perl5 module for managing application configuration +perl-AppConfig: information. It maintains the state of any number of variables and +perl-AppConfig: provides methods for parsing configuration files, command line +perl-AppConfig: arguments and CGI script parameters. +perl-AppConfig: +perl-AppConfig: +perl-AppConfig: +perl-AppConfig: +perl-AppConfig: diff --git a/perl/perl-Archive-Zip/README b/perl/perl-Archive-Zip/README new file mode 100644 index 0000000000000..14fab682ecb72 --- /dev/null +++ b/perl/perl-Archive-Zip/README @@ -0,0 +1,17 @@ +Archive::Zip module allows a Perl program to create, manipulate, +read, and write Zip archive files. + +Zip archives can be created, or you can read from existing zip files. +Once created, they can be written to files, streams, or strings. Members +can be added, removed, extracted, replaced, rearranged, and enumerated. + +They can also be renamed or have their dates, comments, or other +attributes queried or modified. Their data can be compressed or +uncompressed as needed. + +Members can be created from members in existing Zip files, or from +existing directories, files, or strings. + +This module uses the Compress::Zlib library to read and write the +compressed streams inside the files. + diff --git a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild new file mode 100644 index 0000000000000..93dce7682e36a --- /dev/null +++ b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for Archive::Zip + +# Copyright 2008-2010 David Somero <dsomero@hotmail.com> +# 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-Archive-Zip +VERSION=1.31_01 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Archive-Zip + +# 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} + +DOCS="LICENSE README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL OPTIMIZE="$SLKCFLAGS" INSTALLDIRS=vendor +make +make test +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr/ +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Archive-Zip/perl-Archive-Zip.info b/perl/perl-Archive-Zip/perl-Archive-Zip.info new file mode 100644 index 0000000000000..0dedeff91f93a --- /dev/null +++ b/perl/perl-Archive-Zip/perl-Archive-Zip.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Archive-Zip" +VERSION="1.31_01" +HOMEPAGE="http://search.cpan.org/~adamk/Archive-Zip-1.31_01/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Archive-Zip-1.31_01.tar.gz" +MD5SUM="ba40ad38620a43f1f8e2d24b857bb06e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Archive-Zip/slack-desc b/perl/perl-Archive-Zip/slack-desc new file mode 100644 index 0000000000000..4eaf2999ecade --- /dev/null +++ b/perl/perl-Archive-Zip/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-Archive-Zip: perl-Archive-Zip (perl module) +perl-Archive-Zip: +perl-Archive-Zip: The Archive::Zip module allows a Perl program to create, manipulate, +perl-Archive-Zip: read, and write Zip archive files. +perl-Archive-Zip: +perl-Archive-Zip: Zip archives can be created, or you can read from existing zip files. +perl-Archive-Zip: Once created, they can be written to files, streams, or strings. Members +perl-Archive-Zip: can be added, removed, extracted, replaced, rearranged, and enumerated. +perl-Archive-Zip: They can also be renamed or have their dates, comments, or other +perl-Archive-Zip: attributes queried or modified. Their data can be compressed or +perl-Archive-Zip: uncompressed as needed. diff --git a/perl/perl-Astro-SunTime/README b/perl/perl-Astro-SunTime/README new file mode 100644 index 0000000000000..8fced4f658d18 --- /dev/null +++ b/perl/perl-Astro-SunTime/README @@ -0,0 +1,3 @@ +perl-Astro-SunTime (Interface to calculate sun rise/set times) + +Requires: perl-Time-modules available at SlackBuilds.org
\ No newline at end of file diff --git a/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild b/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild new file mode 100644 index 0000000000000..362071f798f5a --- /dev/null +++ b/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware build script for perl-Astro-SunTime +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=Astro-SunTime +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.01} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README Changes \ + $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-Astro-SunTime/perl-Astro-SunTime.info b/perl/perl-Astro-SunTime/perl-Astro-SunTime.info new file mode 100644 index 0000000000000..c624c57558bbc --- /dev/null +++ b/perl/perl-Astro-SunTime/perl-Astro-SunTime.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Astro-SunTime" +VERSION="0.01" +HOMEPAGE="http://search.cpan.org/~robf/Astro-SunTime-0.01/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RO/ROBF/Astro-SunTime-0.01.tar.gz" +MD5SUM="4657927a49604494bfaaa153663b90b9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Astro-SunTime/slack-desc b/perl/perl-Astro-SunTime/slack-desc new file mode 100644 index 0000000000000..82663b9a6d785 --- /dev/null +++ b/perl/perl-Astro-SunTime/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-Astro-SunTime: perl-Astro-SunTime (Interface to calculate sun rise/set times) +perl-Astro-SunTime: +perl-Astro-SunTime: +perl-Astro-SunTime: +perl-Astro-SunTime: +perl-Astro-SunTime: +perl-Astro-SunTime: +perl-Astro-SunTime: +perl-Astro-SunTime: +perl-Astro-SunTime: +perl-Astro-SunTime: diff --git a/perl/perl-Audio-FLAC-Header/README b/perl/perl-Audio-FLAC-Header/README new file mode 100644 index 0000000000000..109e1d5aeacdc --- /dev/null +++ b/perl/perl-Audio-FLAC-Header/README @@ -0,0 +1,2 @@ +This package provides the Audio::FLAC::Header Perl module, which +provides an interface to FLAC header metadata. diff --git a/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild new file mode 100644 index 0000000000000..3fa099d714188 --- /dev/null +++ b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +# Slackware build script for perl-Audio-FLAC-Header + +# Written by Mark Grocock <mark@grocock.me.uk> + +SRCNAM=Audio-FLAC-Header +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-2.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes README TODO \ + $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-Audio-FLAC-Header/perl-Audio-FLAC-Header.info b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.info new file mode 100644 index 0000000000000..bfad68436ee6c --- /dev/null +++ b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Audio-FLAC-Header" +VERSION="2.4" +HOMEPAGE="http://search.cpan.org/~daniel/Audio-FLAC-Header-2.4/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Audio-FLAC-Header-2.4.tar.gz" +MD5SUM="743292694c050be1b10fb4a307f81e87" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mark Grocock" +EMAIL="mark@grocock.me.uk" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-Audio-FLAC-Header/slack-desc b/perl/perl-Audio-FLAC-Header/slack-desc new file mode 100644 index 0000000000000..c97204d26dc74 --- /dev/null +++ b/perl/perl-Audio-FLAC-Header/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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +perl-Audio-FLAC-Header: perl-Audio-FLAC-Header (interface to FLAC header metadata) +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: This package provides the Audio::FLAC::Header Perl module, which +perl-Audio-FLAC-Header: provides an interface to FLAC header metadata. +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: http://search.cpan.org/~daniel/Audio-FLAC-Header-2.4/ +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: diff --git a/perl/perl-Authen-SASL/README b/perl/perl-Authen-SASL/README new file mode 100644 index 0000000000000..0ddc945a6849f --- /dev/null +++ b/perl/perl-Authen-SASL/README @@ -0,0 +1,8 @@ +Authen::SASL - SASL Authentication framework + +SASL is a generic mechanism for authentication used by several network +protocols. Authen::SASL provides an implementation framework that all +protocols should be able to share. + +Dependencies: +perl-Digest-HMAC diff --git a/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild b/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild new file mode 100644 index 0000000000000..5c18b64dd1fd2 --- /dev/null +++ b/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild @@ -0,0 +1,108 @@ +#!/bin/sh -e + +# Copyright (c) 2010 Daniel LEVAI +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of the <organization> nor the +# names of its contributors may be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED ''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 COPYRIGHT HOLDER 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. + +# Build script for perl-Authen-SASL + +SRCNAM=Authen-SASL +PRGNAM=perl-$SRCNAM +VERSION=2.15 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ];then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -Rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -Rf $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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" -print0 | xargs -0 rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a api.txt Changes \ + $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-Authen-SASL/perl-Authen-SASL.info b/perl/perl-Authen-SASL/perl-Authen-SASL.info new file mode 100644 index 0000000000000..bb4334c4d273d --- /dev/null +++ b/perl/perl-Authen-SASL/perl-Authen-SASL.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Authen-SASL" +VERSION="2.15" +HOMEPAGE="http://search.cpan.org/~gbarr/Authen-SASL-2.15/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Authen-SASL-2.15.tar.gz" +MD5SUM="35929abb2755cf479d548672800aebee" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Daniel LEVAI" +EMAIL="leva@ecentrum.hu" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-Authen-SASL/slack-desc b/perl/perl-Authen-SASL/slack-desc new file mode 100644 index 0000000000000..bc46f2680b8b7 --- /dev/null +++ b/perl/perl-Authen-SASL/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-Authen-SASL: perl-Authen-SASL (SASL Authentication framework) +perl-Authen-SASL: +perl-Authen-SASL: SASL is a generic mechanism for authentication used by several network +perl-Authen-SASL: protocols. Authen::SASL provides an implementation framework that all +perl-Authen-SASL: protocols should be able to share. +perl-Authen-SASL: +perl-Authen-SASL: +perl-Authen-SASL: +perl-Authen-SASL: Homepage: http://search.cpan.org/~gbarr/Authen-SASL/ +perl-Authen-SASL: +perl-Authen-SASL: diff --git a/perl/perl-BerkeleyDB/README b/perl/perl-BerkeleyDB/README new file mode 100644 index 0000000000000..6d096d5bd961b --- /dev/null +++ b/perl/perl-BerkeleyDB/README @@ -0,0 +1,3 @@ +perl-BerkeleyDB is a Perl extension for Berkeley DB version 2, 3 or 4. + +perl-BerkeleyDB is required for amavisd-new package. diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild new file mode 100644 index 0000000000000..df199f6677c6e --- /dev/null +++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild @@ -0,0 +1,109 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: BerkeleyDB +# Home Page http://search.cpan.org/dist/BerkeleyDB/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=BerkeleyDB +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.43} +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} + +set -e + +DOCS="Changes README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f + +# strip binaries +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 & compress man pages +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 + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +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-BerkeleyDB/perl-BerkeleyDB.info b/perl/perl-BerkeleyDB/perl-BerkeleyDB.info new file mode 100644 index 0000000000000..840cfa83f9a1c --- /dev/null +++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.info @@ -0,0 +1,10 @@ +PRGNAM="perl-BerkeleyDB" +VERSION="0.43" +HOMEPAGE="http://search.cpan.org/dist/BerkeleyDB/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.43.tar.gz" +MD5SUM="3d0cf0651ed8cd3fc36e328d5924a1e9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-BerkeleyDB/slack-desc b/perl/perl-BerkeleyDB/slack-desc new file mode 100644 index 0000000000000..978a44e3f826a --- /dev/null +++ b/perl/perl-BerkeleyDB/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-BerkeleyDB: perl-BerkeleyDB (BerkeleyDB) +perl-BerkeleyDB: +perl-BerkeleyDB: perl-BerkeleyDB is a Perl extension for Berkeley DB +perl-BerkeleyDB: version 2, 3 or 4 +perl-BerkeleyDB: +perl-BerkeleyDB: +perl-BerkeleyDB: +perl-BerkeleyDB: +perl-BerkeleyDB: Homepage: http://search.cpan.org/dist/BerkeleyDB/ +perl-BerkeleyDB: +perl-BerkeleyDB: diff --git a/perl/perl-Bit-Vector/README b/perl/perl-Bit-Vector/README new file mode 100644 index 0000000000000..3677b126eb5b8 --- /dev/null +++ b/perl/perl-Bit-Vector/README @@ -0,0 +1,3 @@ +Bit::Vector - Efficient bit vector, set of integers and "big int" math library + +This package requires perl-Carp-Clan from SlackBuilds.org. diff --git a/perl/perl-Bit-Vector/perl-Bit-Vector.SlackBuild b/perl/perl-Bit-Vector/perl-Bit-Vector.SlackBuild new file mode 100644 index 0000000000000..08fb44846770e --- /dev/null +++ b/perl/perl-Bit-Vector/perl-Bit-Vector.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Bit-Vector + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Bit-Vector +VERSION=${VERSION:-7.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Bit-Vector +DOCS="Artistic.txt CREDITS.txt GNU_GPL.txt GNU_LGPL.txt README.txt" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Bit-Vector/perl-Bit-Vector.info b/perl/perl-Bit-Vector/perl-Bit-Vector.info new file mode 100644 index 0000000000000..e5462aa827d38 --- /dev/null +++ b/perl/perl-Bit-Vector/perl-Bit-Vector.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Bit-Vector" +VERSION="7.1" +HOMEPAGE="http://search.cpan.org/dist/Bit-Vector/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Bit-Vector-7.1.tar.gz" +MD5SUM="164c8574b728f6171b2a6f564fcd2e50" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Bit-Vector/slack-desc b/perl/perl-Bit-Vector/slack-desc new file mode 100644 index 0000000000000..c3edaf7b2834d --- /dev/null +++ b/perl/perl-Bit-Vector/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-Bit-Vector: perl-Bit-Vector (perl math library) +perl-Bit-Vector: +perl-Bit-Vector: Bit::Vector is an efficient bit vector, set of integers and "big int" +perl-Bit-Vector: math library +perl-Bit-Vector: +perl-Bit-Vector: +perl-Bit-Vector: +perl-Bit-Vector: +perl-Bit-Vector: +perl-Bit-Vector: +perl-Bit-Vector: diff --git a/perl/perl-Cache-FastMmap/README b/perl/perl-Cache-FastMmap/README new file mode 100644 index 0000000000000..858a07c7195c8 --- /dev/null +++ b/perl/perl-Cache-FastMmap/README @@ -0,0 +1,2 @@ +Cache::FastMmap perl modules uses an mmap'ed file to act as a +shared memory interprocess cache. diff --git a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild new file mode 100644 index 0000000000000..b10eab3406366 --- /dev/null +++ b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Cache::FastMmap +# Home Page http://search.cpan.org/dist/Cache-FastMmap/ + +# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ net> +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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-Cache-FastMmap +VERSION=${VERSION:-1.36} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Cache-FastMmap + +# 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} + +set -e + +DOCS="Changes README" + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION + +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +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-Cache-FastMmap/perl-Cache-FastMmap.info b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.info new file mode 100644 index 0000000000000..e148fb821e741 --- /dev/null +++ b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Cache-FastMmap" +VERSION="1.36" +HOMEPAGE="http://search.cpan.org/dist/Cache-FastMmap/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RO/ROBM/Cache-FastMmap-1.36.tar.gz" +MD5SUM="d13b3b3a4b7784ecfc99f2c586985796" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-Cache-FastMmap/slack-desc b/perl/perl-Cache-FastMmap/slack-desc new file mode 100644 index 0000000000000..018f771086e08 --- /dev/null +++ b/perl/perl-Cache-FastMmap/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-Cache-FastMmap: perl-Cache-FastMmap (Cache::FastMmap) +perl-Cache-FastMmap: +perl-Cache-FastMmap: Cache::FastMmap perl module uses an mmap'ed file to act +perl-Cache-FastMmap: as a shared memory interprocess cache. +perl-Cache-FastMmap: +perl-Cache-FastMmap: Homepage: http://search.cpan.org/dist/Cache-FastMmap/ +perl-Cache-FastMmap: +perl-Cache-FastMmap: +perl-Cache-FastMmap: +perl-Cache-FastMmap: +perl-Cache-FastMmap: diff --git a/perl/perl-Carp-Clan/README b/perl/perl-Carp-Clan/README new file mode 100644 index 0000000000000..f65f5efb04aa4 --- /dev/null +++ b/perl/perl-Carp-Clan/README @@ -0,0 +1,20 @@ +Carp::Clan - Report errors from perspective of caller of a "clan" of modules. + +This module is based on "Carp.pm" from Perl 5.005_03. It has been modified to +skip all package names matching the pattern given in the "use" statement +inside the "qw()" term (or argument list). +Suppose you have a family of modules or classes named "Pack::A", "Pack::B" and +so on, and each of them uses "Carp::Clan qw(^Pack::);" (or at least the one in +which the error or warning gets raised). +Thus when for example your script "tool.pl" calls module "Pack::A", and module +"Pack::A" calls module "Pack::B", an exception raised in module "Pack::B" will +appear to have originated in "tool.pl" where "Pack::A" was called, and not in +"Pack::A" where "Pack::B" was called, as the unmodified "Carp.pm" would try to +make you believe :-). +This works similarly if "Pack::B" calls "Pack::C" where the exception is +raised, etcetera. +In other words, this blames all errors in the "Pack::*" modules on the user of +these modules, i.e., on you. ;-) + +For more informations, see: +http://search.cpan.org/dist/Carp-Clan/lib/Carp/Clan.pod diff --git a/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild b/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild new file mode 100644 index 0000000000000..7c76d23a5a612 --- /dev/null +++ b/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Carp-Clan + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Carp-Clan +VERSION=${VERSION:-6.04} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Carp-Clan +DOCS="README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Carp-Clan/perl-Carp-Clan.info b/perl/perl-Carp-Clan/perl-Carp-Clan.info new file mode 100644 index 0000000000000..06f60268c22db --- /dev/null +++ b/perl/perl-Carp-Clan/perl-Carp-Clan.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Carp-Clan" +VERSION="6.04" +HOMEPAGE="http://search.cpan.org/dist/Carp-Clan/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Carp-Clan-6.04.tar.gz" +MD5SUM="b6316bc51bb530d994f2784615939fb2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Carp-Clan/slack-desc b/perl/perl-Carp-Clan/slack-desc new file mode 100644 index 0000000000000..a04567e534d10 --- /dev/null +++ b/perl/perl-Carp-Clan/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-Carp-Clan: perl-Carp-Clan (error reporting module) +perl-Carp-Clan: +perl-Carp-Clan: Carp::Clan report errors from perspective of caller of a "clan" of +perl-Carp-Clan: modules. +perl-Carp-Clan: +perl-Carp-Clan: +perl-Carp-Clan: +perl-Carp-Clan: +perl-Carp-Clan: +perl-Carp-Clan: +perl-Carp-Clan: diff --git a/perl/perl-Class-Factory-Util/README b/perl/perl-Class-Factory-Util/README new file mode 100644 index 0000000000000..08df054f7da78 --- /dev/null +++ b/perl/perl-Class-Factory-Util/README @@ -0,0 +1,2 @@ +perl-Class-Factory-Util - Provides utility methods for factory classes. + diff --git a/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild new file mode 100644 index 0000000000000..fec943ed724de --- /dev/null +++ b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-Class-Factory-Util + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=Class-Factory-Util +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.7} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE 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-Class-Factory-Util/perl-Class-Factory-Util.info b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.info new file mode 100644 index 0000000000000..51d05004fd98e --- /dev/null +++ b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Class-Factory-Util" +VERSION="1.7" +HOMEPAGE="http://search.cpan.org/~drolsky/Class-Factory-Util-1.7/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Factory-Util-1.7.tar.gz" +MD5SUM="aebd79da361b676a7ecd3245fc3d1b3f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Class-Factory-Util/slack-desc b/perl/perl-Class-Factory-Util/slack-desc new file mode 100644 index 0000000000000..b8131bc562504 --- /dev/null +++ b/perl/perl-Class-Factory-Util/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-Class-Factory-Util: perl-Class-Factory-Util (Provides utility methods for factory classes) +perl-Class-Factory-Util: +perl-Class-Factory-Util: This module exports a method that is useful for factory classes. +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: diff --git a/perl/perl-Class-Gomor/README b/perl/perl-Class-Gomor/README new file mode 100644 index 0000000000000..ac25c4af7b969 --- /dev/null +++ b/perl/perl-Class-Gomor/README @@ -0,0 +1,14 @@ +Class::Gomor - another class and object builder + +This module is yet another class builder. This one adds parameter checking in +new constructor, that is to check for attributes existence, and definedness. +In order to validate parameters, the module needs to find attributes, and that +is the reason for declaring attributes in global variables named @AS, @AA, +@AO. They respectively state for Attributes Scalar, Attributes Array and +Attributes Other. The last one is used to avoid autocreation of accessors, +that is to let you declare your own ones. +Attribute validation is performed by looking at classes hierarchy, by +following @ISA tree inheritance. +The loss in speed by validating all attributes is quite negligeable on a +decent machine (Pentium IV, 2.4 GHz) with Perl 5.8.x. But if you want to avoid +checking, you can do it. diff --git a/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild b/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild new file mode 100644 index 0000000000000..ba2d8a50cf785 --- /dev/null +++ b/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Class-Gomor + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Class-Gomor +VERSION=${VERSION:-1.02} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Class-Gomor +DOCS="LICENSE LICENSE.Artistic README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Class-Gomor/perl-Class-Gomor.info b/perl/perl-Class-Gomor/perl-Class-Gomor.info new file mode 100644 index 0000000000000..d65d4903901e3 --- /dev/null +++ b/perl/perl-Class-Gomor/perl-Class-Gomor.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Class-Gomor" +VERSION="1.02" +HOMEPAGE="http://search.cpan.org/dist/Class-Gomor/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Class-Gomor-1.02.tar.gz" +MD5SUM="287c3b3be72fcb4a4089fe232b8b1002" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Class-Gomor/slack-desc b/perl/perl-Class-Gomor/slack-desc new file mode 100644 index 0000000000000..d11e8b7eda106 --- /dev/null +++ b/perl/perl-Class-Gomor/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-Class-Gomor: perl-Class-Gomor (another class and object builder) +perl-Class-Gomor: +perl-Class-Gomor: Class::Gomor is yet another class builder. This one adds parameter +perl-Class-Gomor: checking in new constructor, that is to check for attributes existence, +perl-Class-Gomor: and definedness. +perl-Class-Gomor: +perl-Class-Gomor: +perl-Class-Gomor: +perl-Class-Gomor: +perl-Class-Gomor: +perl-Class-Gomor: diff --git a/perl/perl-Class-Singleton/README b/perl/perl-Class-Singleton/README new file mode 100644 index 0000000000000..2a2ef960a43c0 --- /dev/null +++ b/perl/perl-Class-Singleton/README @@ -0,0 +1 @@ +perl-Class::Singleton is a Implementation of a "Singleton" class diff --git a/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild b/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild new file mode 100644 index 0000000000000..f4021cf85c57e --- /dev/null +++ b/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-Class-Singleton + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=Class-Singleton +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + 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-Class-Singleton/perl-Class-Singleton.info b/perl/perl-Class-Singleton/perl-Class-Singleton.info new file mode 100644 index 0000000000000..93fe79f6a6b6a --- /dev/null +++ b/perl/perl-Class-Singleton/perl-Class-Singleton.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Class-Singleton" +VERSION="1.4" +HOMEPAGE="http://search.cpan.org/~abw/Class-Singleton-1.4/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Class-Singleton-1.4.tar.gz" +MD5SUM="a18b108ab97e2107cbbe816d2b3e2ee3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Class-Singleton/slack-desc b/perl/perl-Class-Singleton/slack-desc new file mode 100644 index 0000000000000..d12592b04030f --- /dev/null +++ b/perl/perl-Class-Singleton/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-Class-Singleton: perl-Class-Singleton (Implementation of a "Singleton" class) +perl-Class-Singleton: +perl-Class-Singleton: Class::Singleton - Implementation of a "Singleton" class. +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: diff --git a/perl/perl-Config-IniFiles/README b/perl/perl-Config-IniFiles/README new file mode 100644 index 0000000000000..e30e0f79a6761 --- /dev/null +++ b/perl/perl-Config-IniFiles/README @@ -0,0 +1 @@ +perl-Config-IniFiles perl module for reading .ini-style configuration files. diff --git a/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild b/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild new file mode 100644 index 0000000000000..c6d1868d45480 --- /dev/null +++ b/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Config::IniFiles +# Home Page http://search.cpan.org/dist/Config-IniFiles/ + +# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA <nishant _AT_ mnspace _DOT_ net> +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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-Config-IniFiles +VERSION=${VERSION:-2.66} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Config-IniFiles + +# 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} + +set -e + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +DOCS="Changes README" + +rm -rf $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +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-Config-IniFiles/perl-Config-IniFiles.info b/perl/perl-Config-IniFiles/perl-Config-IniFiles.info new file mode 100644 index 0000000000000..a3abd51eb3713 --- /dev/null +++ b/perl/perl-Config-IniFiles/perl-Config-IniFiles.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Config-IniFiles" +VERSION="2.66" +HOMEPAGE="http://search.cpan.org/dist/Config-IniFiles/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Config-IniFiles-2.66.tar.gz" +MD5SUM="b03be17e0e2b4257f97808384ebdbeb9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-Config-IniFiles/slack-desc b/perl/perl-Config-IniFiles/slack-desc new file mode 100644 index 0000000000000..187eed25ee2b4 --- /dev/null +++ b/perl/perl-Config-IniFiles/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-Config-IniFiles: perl-Config-IniFiles (Config::IniFiles) +perl-Config-IniFiles: +perl-Config-IniFiles: perl-Config-IniFiles perl module to read .ini-style +perl-Config-IniFiles: configuration files. +perl-Config-IniFiles: +perl-Config-IniFiles: Homepage: http://search.cpan.org/dist/Config-IniFiles/ +perl-Config-IniFiles: +perl-Config-IniFiles: +perl-Config-IniFiles: +perl-Config-IniFiles: +perl-Config-IniFiles: diff --git a/perl/perl-Convert-BinHex/README b/perl/perl-Convert-BinHex/README new file mode 100644 index 0000000000000..e37d50a6c5759 --- /dev/null +++ b/perl/perl-Convert-BinHex/README @@ -0,0 +1,3 @@ +perl-Convert-BinHex extracts data from Macintosh BinHex files + +This is required for amavisd-new package. diff --git a/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild b/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild new file mode 100644 index 0000000000000..c86ba1ed59f49 --- /dev/null +++ b/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Convert::BinHex +# Home Page http://search.cpan.org/dist/Convert-BinHex/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Convert-BinHex +PRGNAM=perl-Convert-BinHex +VERSION=1.119 +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} + +set -e + +DOCS="COPYING README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +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-Convert-BinHex/perl-Convert-BinHex.info b/perl/perl-Convert-BinHex/perl-Convert-BinHex.info new file mode 100644 index 0000000000000..079097d5d497d --- /dev/null +++ b/perl/perl-Convert-BinHex/perl-Convert-BinHex.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Convert-BinHex" +VERSION="1.119" +HOMEPAGE="http://search.cpan.org/dist/Convert-BinHex/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/Convert-BinHex-1.119.tar.gz" +MD5SUM="ba70ad1772abac6270078f28197a7961" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Convert-BinHex/slack-desc b/perl/perl-Convert-BinHex/slack-desc new file mode 100644 index 0000000000000..61c02bbb3e842 --- /dev/null +++ b/perl/perl-Convert-BinHex/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-Convert-BinHex: perl-Convert-BinHex (Convert::BinHex) +perl-Convert-BinHex: +perl-Convert-BinHex: perl-Convert-BinHex extracts data from Macintosh BinHex files +perl-Convert-BinHex: +perl-Convert-BinHex: +perl-Convert-BinHex: +perl-Convert-BinHex: Home Page: http://search.cpan.org/dist/Convert-BinHex/ +perl-Convert-BinHex: +perl-Convert-BinHex: +perl-Convert-BinHex: +perl-Convert-BinHex: diff --git a/perl/perl-Convert-TNEF/README b/perl/perl-Convert-TNEF/README new file mode 100644 index 0000000000000..4965ce3f3e722 --- /dev/null +++ b/perl/perl-Convert-TNEF/README @@ -0,0 +1,4 @@ +perl-Convert-TNEF is a perl module to read TNEF files. + +This is required for amavisd-new package. +Requires: perl-Convert-BinHex perl-IO-stringy perl-MailTools diff --git a/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild new file mode 100644 index 0000000000000..db63c50f6651d --- /dev/null +++ b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Convert::TNEF +# Home Page http://search.cpan.org/dist/Convert-TNEF/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Convert-TNEF +PRGNAM=perl-Convert-TNEF +VERSION=0.17 +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} + +set -e + +DOCS="Changes README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +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-Convert-TNEF/perl-Convert-TNEF.info b/perl/perl-Convert-TNEF/perl-Convert-TNEF.info new file mode 100644 index 0000000000000..f889929bb7361 --- /dev/null +++ b/perl/perl-Convert-TNEF/perl-Convert-TNEF.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Convert-TNEF" +VERSION="0.17" +HOMEPAGE="http://search.cpan.org/dist/Convert-TNEF/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/Convert-TNEF-0.17.tar.gz" +MD5SUM="31cddf42fae9495b4a686b17ec68d7e0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Convert-TNEF/slack-desc b/perl/perl-Convert-TNEF/slack-desc new file mode 100644 index 0000000000000..a943cdd4af7d6 --- /dev/null +++ b/perl/perl-Convert-TNEF/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-Convert-TNEF: perl-Convert-TNEF (Convert::TNEF) +perl-Convert-TNEF: +perl-Convert-TNEF: perl-Convert-TNEF is a perl module read TNEF files. +perl-Convert-TNEF: +perl-Convert-TNEF: +perl-Convert-TNEF: +perl-Convert-TNEF: Homepage: http://search.cpan.org/dist/Convert-TNEF/ +perl-Convert-TNEF: +perl-Convert-TNEF: +perl-Convert-TNEF: +perl-Convert-TNEF: diff --git a/perl/perl-Convert-UUlib/README b/perl/perl-Convert-UUlib/README new file mode 100644 index 0000000000000..cfd099f50c499 --- /dev/null +++ b/perl/perl-Convert-UUlib/README @@ -0,0 +1,3 @@ +perl-Convert-UUlib provides Perl interface to the uulib library. + +perl-Convert-UUlib is required for amavisd-new. diff --git a/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild b/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild new file mode 100644 index 0000000000000..7687c0b5f82ee --- /dev/null +++ b/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Convert::UUlib +# Home Page http://search.cpan.org/dist/Convert-UUlib/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Convert-UUlib +PRGNAM=perl-Convert-UUlib +VERSION=1.33 +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} + +set -e + +DOCS="COPYING* Changes README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +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-Convert-UUlib/perl-Convert-UUlib.info b/perl/perl-Convert-UUlib/perl-Convert-UUlib.info new file mode 100644 index 0000000000000..dd9df3ce93ece --- /dev/null +++ b/perl/perl-Convert-UUlib/perl-Convert-UUlib.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Convert-UUlib" +VERSION="1.33" +HOMEPAGE="http://search.cpan.org/dist/Convert-UUlib/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Convert-UUlib-1.33.tar.gz" +MD5SUM="d4e3330562e5d4f6c022b0a0619a2c71" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Convert-UUlib/slack-desc b/perl/perl-Convert-UUlib/slack-desc new file mode 100644 index 0000000000000..c5ad26704572e --- /dev/null +++ b/perl/perl-Convert-UUlib/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-Convert-UUlib: perl-Convert-UUlib +perl-Convert-UUlib: +perl-Convert-UUlib: Perl interface to the uulib library. +perl-Convert-UUlib: +perl-Convert-UUlib: +perl-Convert-UUlib: Homepage: http://search.cpan.org/dist/Convert-UUlib/ +perl-Convert-UUlib: +perl-Convert-UUlib: +perl-Convert-UUlib: +perl-Convert-UUlib: +perl-Convert-UUlib: diff --git a/perl/perl-Crypt-OpenSSL-Bignum/README b/perl/perl-Crypt-OpenSSL-Bignum/README new file mode 100644 index 0000000000000..1abe770ec3c30 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Bignum/README @@ -0,0 +1,4 @@ +perl-Crypt-OpenSSL-Bignum is an perl module designed to provide basic +access to the OpenSSL multiprecision integer arithmetic libraries. + +This module requires OpenSSL libraries and header files. diff --git a/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild new file mode 100644 index 0000000000000..fb3d685520c07 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Crypt::OpenSSL::Bignum +# Home Page http://search.cpan.org/dist/Crypt-OpenSSL-Bignum/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Crypt-OpenSSL-Bignum +PRGNAM=perl-Crypt-OpenSSL-Bignum +VERSION=0.04 +TAG=${TAG:-_SBo} +BUILD=${BUILD:-1} + +# 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} + +set -e + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +DOCS="Changes README" + + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +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-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.info b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.info new file mode 100644 index 0000000000000..8b988494abcc5 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Crypt-OpenSSL-Bignum" +VERSION="0.04" +HOMEPAGE="http://search.cpan.org/dist/Crypt-OpenSSL-Bignum/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Bignum-0.04.tar.gz" +MD5SUM="9369ef722b0705c0604998559988eb18" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Crypt-OpenSSL-Bignum/slack-desc b/perl/perl-Crypt-OpenSSL-Bignum/slack-desc new file mode 100644 index 0000000000000..b21e5c7369817 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Bignum/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-Crypt-OpenSSL-Bignum: perl-Crypt-OpenSSL-Bignum (Crypt::OpenSSL::Bignum) +perl-Crypt-OpenSSL-Bignum: +perl-Crypt-OpenSSL-Bignum: Crypt::OpenSSL::Bignum is a perl module designed +perl-Crypt-OpenSSL-Bignum: to provide basic access to the OpenSSL multi- +perl-Crypt-OpenSSL-Bignum: precision integer arithmetic libraries. +perl-Crypt-OpenSSL-Bignum: +perl-Crypt-OpenSSL-Bignum: Homepage: http://search.cpan.org/dist/Crypt-OpenSSL-Bignum/ +perl-Crypt-OpenSSL-Bignum: +perl-Crypt-OpenSSL-Bignum: +perl-Crypt-OpenSSL-Bignum: +perl-Crypt-OpenSSL-Bignum: diff --git a/perl/perl-Crypt-OpenSSL-RSA/README b/perl/perl-Crypt-OpenSSL-RSA/README new file mode 100644 index 0000000000000..c3da805bb95fe --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-RSA/README @@ -0,0 +1,4 @@ +perl-Crypt-OpenSSL-RSA provides perl modules for RSA encoding and decoding, +using the openSSL libraries. + +This requires perl-Crypt-OpenSSL-Random. diff --git a/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild new file mode 100644 index 0000000000000..72ded78961ac7 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild @@ -0,0 +1,114 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Crypt::OpenSSL::RSA +# Home Page http://search.cpan.org/dist/Crypt-OpenSSL-RSA/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Crypt-OpenSSL-RSA +PRGNAM=perl-Crypt-OpenSSL-RSA +VERSION=0.26 +TAG=${TAG:-_SBo} +BUILD=${BUILD:-1} + +# 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} + +set -e + +DOCS="Changes LICENSE README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +### strip binaries +find $PKG | xargs 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 +) + +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-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.info b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.info new file mode 100644 index 0000000000000..a10a0e4db6bab --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Crypt-OpenSSL-RSA" +VERSION="0.26" +HOMEPAGE="http://search.cpan.org/dist/Crypt-OpenSSL-RSA/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-0.26.tar.gz" +MD5SUM="baf875f01ee39b88335b8f0962fe4bbc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="Erik Hanson" diff --git a/perl/perl-Crypt-OpenSSL-RSA/slack-desc b/perl/perl-Crypt-OpenSSL-RSA/slack-desc new file mode 100644 index 0000000000000..17c2c35a82e04 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-RSA/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-Crypt-OpenSSL-RSA: perl-Crypt-OpenSSL-RSA (Crypt::OpenSSL::RSA) +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: perl-Crypt-OpenSSL-RSA - RSA encoding and decoding, +perl-Crypt-OpenSSL-RSA: using the openSSL libraries. +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: Homepage: http://search.cpan.org/dist/Crypt-OpenSSL-RSA/ +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: diff --git a/perl/perl-Crypt-OpenSSL-Random/README b/perl/perl-Crypt-OpenSSL-Random/README new file mode 100644 index 0000000000000..68e3c36636d6d --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Random/README @@ -0,0 +1,4 @@ +perl-Crypt-OpenSSL-Random provides the ability to seed and query the +OpenSSL library's pseudo-random number generator. + +perl-Crypt-OpenSSL-Random is a required for perl-Crypt-OpenSSL-RSA. diff --git a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild new file mode 100644 index 0000000000000..97c8736b876c9 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/sh + +# Slackware Package Build Script for perl module: Crypt::OpenSSL::Random +# Home Page http://search.cpan.org/dist/Crypt-OpenSSL-Random/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Crypt-OpenSSL-Random +PRGNAM=perl-Crypt-OpenSSL-Random +VERSION=0.04 +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} + +set -e + +DOCS="Changes LICENSE" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +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-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.info b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.info new file mode 100644 index 0000000000000..2a1b55b6bb5ed --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Crypt-OpenSSL-Random" +VERSION="0.04" +HOMEPAGE="http://search.cpan.org/dist/Crypt-OpenSSL-Random/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz" +MD5SUM="c56ac5dbdd46122eb9b8da59613b7b0a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Crypt-OpenSSL-Random/slack-desc b/perl/perl-Crypt-OpenSSL-Random/slack-desc new file mode 100644 index 0000000000000..0e0cacbd50e22 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Random/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-Crypt-OpenSSL-Random: perl-Crypt-OpenSSL-Random (Crypt::OpenSSL::Random) +perl-Crypt-OpenSSL-Random: +perl-Crypt-OpenSSL-Random: perl-Crypt-OpenSSL-Random provides the ability to +perl-Crypt-OpenSSL-Random: seed and query the OpenSSL library's +perl-Crypt-OpenSSL-Random: pseudo-random number generator. +perl-Crypt-OpenSSL-Random: +perl-Crypt-OpenSSL-Random: +perl-Crypt-OpenSSL-Random: Homepage: http://search.cpan.org/dist/Crypt-OpenSSL-Random/ +perl-Crypt-OpenSSL-Random: +perl-Crypt-OpenSSL-Random: +perl-Crypt-OpenSSL-Random: diff --git a/perl/perl-Curses/README b/perl/perl-Curses/README new file mode 100644 index 0000000000000..a674d3009c114 --- /dev/null +++ b/perl/perl-Curses/README @@ -0,0 +1,3 @@ +perl-Curses (perl module for Curses) + +terminal screen handling and optimization diff --git a/perl/perl-Curses/perl-Curses.SlackBuild b/perl/perl-Curses/perl-Curses.SlackBuild new file mode 100644 index 0000000000000..6768fa235e4fb --- /dev/null +++ b/perl/perl-Curses/perl-Curses.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for perl-Curses + +# Written by Vincent Batts, vbatts@hashbangbash.com + +SRCNAM=Curses +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.28} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tgz +cd $SRCNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + MAINTENANCE HISTORY INSTALL 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-Curses/perl-Curses.info b/perl/perl-Curses/perl-Curses.info new file mode 100644 index 0000000000000..c8ea6003d0b2d --- /dev/null +++ b/perl/perl-Curses/perl-Curses.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Curses" +VERSION="1.28" +HOMEPAGE="http://search.cpan.org/dist/Curses/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-1.28.tgz" +MD5SUM="ed9f7ddf2d90f4266da91c3dc9fad9c9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Vincent Batts" +EMAIL="vbatts@hashbangbash.com" +APPROVED="dsomero" diff --git a/perl/perl-Curses/slack-desc b/perl/perl-Curses/slack-desc new file mode 100644 index 0000000000000..70ca2a69d22e1 --- /dev/null +++ b/perl/perl-Curses/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-Curses: perl-Curses (perl module for Curses) +perl-Curses: +perl-Curses: terminal screen handling and optimization +perl-Curses: +perl-Curses: +perl-Curses: +perl-Curses: +perl-Curses: +perl-Curses: +perl-Curses: +perl-Curses: diff --git a/perl/perl-DBD-Pg/README b/perl/perl-DBD-Pg/README new file mode 100644 index 0000000000000..115043bf12b5d --- /dev/null +++ b/perl/perl-DBD-Pg/README @@ -0,0 +1,4 @@ +DBD-Pg is the DBI PostgreSQL interface for Perl. + +This requires perl5, DBI, PostgreSQL, and Test::Simple. PostgreSQL is +available on SBo, the others are included with perl5 in Slackware-13.0. diff --git a/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild b/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild new file mode 100644 index 0000000000000..73c17c5737146 --- /dev/null +++ b/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for DBD::Pg +# Written by Joey Trungale <joey@trungale.net> + +PRGNAM=perl-DBD-Pg +VERSION=${VERSION:-2.16.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=DBD-Pg + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +make +#make test #requires a running PostgreSQL database +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 + +( 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 +) + +( cd $PKG + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes MANIFEST README LICENSES/artistic.txt LICENSES/gpl-2.0.txt \ + $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-DBD-Pg/perl-DBD-Pg.info b/perl/perl-DBD-Pg/perl-DBD-Pg.info new file mode 100644 index 0000000000000..49acd7d04913d --- /dev/null +++ b/perl/perl-DBD-Pg/perl-DBD-Pg.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DBD-Pg" +VERSION="2.16.0" +HOMEPAGE="http://search.cpan.org/dist/DBD-Pg" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/DBD-Pg-2.16.0.tar.gz" +MD5SUM="13cbd73837fe856eca5d63cdd816f439" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="dsomero" diff --git a/perl/perl-DBD-Pg/slack-desc b/perl/perl-DBD-Pg/slack-desc new file mode 100644 index 0000000000000..c54bc20cb55a0 --- /dev/null +++ b/perl/perl-DBD-Pg/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-DBD-Pg: perl-DBD-Pg (PostgreSQL database driver for the DBI module) +perl-DBD-Pg: +perl-DBD-Pg: DBD::Pg is a Perl module that works with the DBI module to provide +perl-DBD-Pg: access to PostgreSQL databases. +perl-DBD-Pg: +perl-DBD-Pg: http://search.cpan.org/dist/DBD-Pg +perl-DBD-Pg: +perl-DBD-Pg: +perl-DBD-Pg: +perl-DBD-Pg: +perl-DBD-Pg: diff --git a/perl/perl-DBD-SQLite/README b/perl/perl-DBD-SQLite/README new file mode 100644 index 0000000000000..3b7c134fef966 --- /dev/null +++ b/perl/perl-DBD-SQLite/README @@ -0,0 +1 @@ +DBD::SQLite - Self-contained RDBMS in a DBI Driver diff --git a/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild b/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild new file mode 100644 index 0000000000000..df10b7b17eac9 --- /dev/null +++ b/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +# Slackware build script for perl-DBD-SQLite +# Written by Thomas Morper <thomas@beingboiled.info> + +SRCNAM=DBD-SQLite +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.31} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/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" -empty | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes LICENSE 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-DBD-SQLite/perl-DBD-SQLite.info b/perl/perl-DBD-SQLite/perl-DBD-SQLite.info new file mode 100644 index 0000000000000..2bbf6d7144a08 --- /dev/null +++ b/perl/perl-DBD-SQLite/perl-DBD-SQLite.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DBD-SQLite" +VERSION="1.31" +HOMEPAGE="http://search.cpan.org/~adamk/DBD-SQLite/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/DBD-SQLite-1.31.tar.gz" +MD5SUM="67b3575104efd606c8093bc416e3338d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-DBD-SQLite/slack-desc b/perl/perl-DBD-SQLite/slack-desc new file mode 100644 index 0000000000000..3ff28bfff9062 --- /dev/null +++ b/perl/perl-DBD-SQLite/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-DBD-SQLite: perl-DBD-SQLite (RDBMS perl module) +perl-DBD-SQLite: +perl-DBD-SQLite: DBD::SQLite - Self-contained RDBMS in a DBI Driver +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: diff --git a/perl/perl-Danga-Socket/README b/perl/perl-Danga-Socket/README new file mode 100644 index 0000000000000..62c10c159d636 --- /dev/null +++ b/perl/perl-Danga-Socket/README @@ -0,0 +1,3 @@ +Danga::Socket - Event loop and event-driven async socket base class + +This requires perl-Sys-Syscall (Sys::Syscall) diff --git a/perl/perl-Danga-Socket/perl-Danga-Socket.SlackBuild b/perl/perl-Danga-Socket/perl-Danga-Socket.SlackBuild new file mode 100644 index 0000000000000..21a97626e937f --- /dev/null +++ b/perl/perl-Danga-Socket/perl-Danga-Socket.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/sh + +# Slackware build script for perl-Danga-Socket + +# Copyright 2009-2010 Adrian Ulrich <adrian@blinkenlights.ch> +# 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-Danga-Socket +VERSION=${VERSION:-1.61} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Danga-Socket + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +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 + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $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-Danga-Socket/perl-Danga-Socket.info b/perl/perl-Danga-Socket/perl-Danga-Socket.info new file mode 100644 index 0000000000000..5897a86e93c4d --- /dev/null +++ b/perl/perl-Danga-Socket/perl-Danga-Socket.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Danga-Socket" +VERSION="1.61" +HOMEPAGE="http://search.cpan.org/~bradfitz/Danga-Socket-1.61/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/Danga-Socket-1.61.tar.gz" +MD5SUM="dc8f481b35172a090b977f3dea7fa24a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Adrian Ulrich" +EMAIL="adrian@blinkenlights.ch" +APPROVED="Niels Horn" diff --git a/perl/perl-Danga-Socket/slack-desc b/perl/perl-Danga-Socket/slack-desc new file mode 100644 index 0000000000000..a33fcfcf087b4 --- /dev/null +++ b/perl/perl-Danga-Socket/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-Danga-Socket: perl-Danga-Socket (epoll() interface for perl) +perl-Danga-Socket: +perl-Danga-Socket: An event loop and event-driven async socket base class +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: diff --git a/perl/perl-Date-Calc/README b/perl/perl-Date-Calc/README new file mode 100644 index 0000000000000..64eceeb3d404d --- /dev/null +++ b/perl/perl-Date-Calc/README @@ -0,0 +1,9 @@ +perl-Date-Calc provides perl modules for Gregorian calendar date calculations. + +perl-Date-Calc is required for pflogsumm. + +perl-Date-Calc requires: +1. perl-Sub-Uplevel +2. perl-Test-Exception +3. perl-Carp-Clan +4. perl-Bit-Vector
\ No newline at end of file diff --git a/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild new file mode 100644 index 0000000000000..b48bdefc8ec17 --- /dev/null +++ b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Date::Calc +# Home Page http://search.cpan.org/dist/Date-Calc/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant@mnspace.net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. + +SRCNAM=Date-Calc +PRGNAM=perl-Date-Calc +VERSION=6.3 +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} + +set -e + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +### clean up from previous builds +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +### Extracting the source tarballs +cd $TMP +tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION + +chown -R root.root . + +find . \ +\( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ +-exec chmod 644 {} \; + +find . \ +\( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \ +-exec chmod 755 {} \; + +CFLAGS="$SLKCFLAGS" perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES.txt CREDITS.txt README.txt license/*.txt $PKG/usr/doc/$PRGNAM-$VERSION + +# move man pages +mv $PKG/usr/share/man $PKG/usr + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +# find and compress man pages +if [ -d $PKG/usr/man ]; then + ( 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 + ) +fi + +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-Date-Calc/perl-Date-Calc.info b/perl/perl-Date-Calc/perl-Date-Calc.info new file mode 100644 index 0000000000000..b4199db0d1056 --- /dev/null +++ b/perl/perl-Date-Calc/perl-Date-Calc.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Date-Calc" +VERSION="6.3" +HOMEPAGE="http://search.cpan.org/dist/Date-Calc/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Date-Calc-6.3.tar.gz" +MD5SUM="9b64555b7051c1beb6b61daead2d01b3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Date-Calc/slack-desc b/perl/perl-Date-Calc/slack-desc new file mode 100644 index 0000000000000..b9f27c04b8813 --- /dev/null +++ b/perl/perl-Date-Calc/slack-desc @@ -0,0 +1,18 @@ +# 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-Date-Calc: perl-Date-Calc (Date::Calc) +perl-Date-Calc: +perl-Date-Calc: perl-Date-Calc provides Gregorian calendar date calculations. +perl-Date-Calc: +perl-Date-Calc: Homepage: http://search.cpan.org/dist/Date-Calc/ +perl-Date-Calc: +perl-Date-Calc: +perl-Date-Calc: +perl-Date-Calc: +perl-Date-Calc: +perl-Date-Calc: diff --git a/perl/perl-Date-Manip/README b/perl/perl-Date-Manip/README new file mode 100644 index 0000000000000..7f4aab4265bb6 --- /dev/null +++ b/perl/perl-Date-Manip/README @@ -0,0 +1,7 @@ +perl-Date-Manip (Date manipulation routines) + +A series of modules which can do pretty much any date/time manipulation +you could ever want. + +Dependencies: perl-Test-Pod-Coverage, perl-YAML-Syck, perl-Test-Pod, +perl-Test-Inter, all available on SlackBuilds.org. diff --git a/perl/perl-Date-Manip/doinst.sh b/perl/perl-Date-Manip/doinst.sh new file mode 100644 index 0000000000000..3b1811064d292 --- /dev/null +++ b/perl/perl-Date-Manip/doinst.sh @@ -0,0 +1,20 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +if [ -L etc/localtime-copied-from ]; then + localTime="$(readlink etc/localtime-copied-from)" + echo $localTime | cut -d/ -f5- > etc/timezone.new +fi + +config etc/timezone.new + diff --git a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild new file mode 100644 index 0000000000000..bd53d5be704f2 --- /dev/null +++ b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-Date-Manip + +# Copyright 2010 V'yacheslav Stetskevych <slava18 dont_spam_me gmail com> +# 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. + +SRCNAM=Date-Manip +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-6.11} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Build.PL \ + prefix=/usr \ + installdirs=vendor \ + destdir=$PKG +./Build +./Build test +./Build install \ + --install_path bindoc=/usr/man/man1 \ + --install_path libdoc=/usr/man/man3 + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + HISTORY INSTALL LICENSE README* \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Date::Manip seems to need a correctly set /etc/timezone file in some cases. +# We will create a placeholder and update it with the correct info from the +# doinst.sh script. +mkdir -p $PKG/etc +touch $PKG/etc/timezone.new + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/perl/perl-Date-Manip/perl-Date-Manip.info b/perl/perl-Date-Manip/perl-Date-Manip.info new file mode 100644 index 0000000000000..fa3bdab4e050a --- /dev/null +++ b/perl/perl-Date-Manip/perl-Date-Manip.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Date-Manip" +VERSION="6.11" +HOMEPAGE="http://search.cpan.org/~sbeck/Date-Manip-6.11/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Date-Manip-6.11.tar.gz" +MD5SUM="7880db506f14080635972eb5607fa79d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Date-Manip/slack-desc b/perl/perl-Date-Manip/slack-desc new file mode 100644 index 0000000000000..4015b7c4cff5a --- /dev/null +++ b/perl/perl-Date-Manip/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-Date-Manip: perl-Date-Manip (Date manipulation routines) +perl-Date-Manip: +perl-Date-Manip: A series of modules which can do pretty much any date/time +perl-Date-Manip: manipulation you could ever want. +perl-Date-Manip: +perl-Date-Manip: +perl-Date-Manip: +perl-Date-Manip: +perl-Date-Manip: +perl-Date-Manip: +perl-Date-Manip: diff --git a/perl/perl-DateTime-Format-Builder/README b/perl/perl-DateTime-Format-Builder/README new file mode 100644 index 0000000000000..c7c55dcf75273 --- /dev/null +++ b/perl/perl-DateTime-Format-Builder/README @@ -0,0 +1,4 @@ +perl-DateTime-Format-Builder - Create DateTime parser classes and objects. + +This requires perl-Params-Validate, perl-DateTime, perl-Class-Factory-Util, +perl-DateTime-Format-Strptime, perl-Task-Weaken.
\ No newline at end of file diff --git a/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.SlackBuild b/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.SlackBuild new file mode 100644 index 0000000000000..a1909dda8e2ac --- /dev/null +++ b/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime-Format-Builder + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=DateTime-Format-Builder +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.80} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/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 || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING CREDITS 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-DateTime-Format-Builder/perl-DateTime-Format-Builder.info b/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.info new file mode 100644 index 0000000000000..889fdf2a0e72a --- /dev/null +++ b/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime-Format-Builder" +VERSION="0.80" +HOMEPAGE="http://search.cpan.org/dist/DateTime-Format-Builder/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-0.80.tar.gz" +MD5SUM="f6c5d5a17b5b7478ff555a2d3cce5136" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime-Format-Builder/slack-desc b/perl/perl-DateTime-Format-Builder/slack-desc new file mode 100644 index 0000000000000..268d1a31b3dfd --- /dev/null +++ b/perl/perl-DateTime-Format-Builder/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-DateTime-Format-Builder: perl-DateTime-Format-Builder (Create DateTime parser classes/objects) +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: DateTime::Format::Builder Create DateTime parser classes and objects. +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: diff --git a/perl/perl-DateTime-Format-ISO8601/README b/perl/perl-DateTime-Format-ISO8601/README new file mode 100644 index 0000000000000..6b4204e0c8c7f --- /dev/null +++ b/perl/perl-DateTime-Format-ISO8601/README @@ -0,0 +1,4 @@ +perl-DateTime-Format-ISO8601 parses almost all ISO8601 date and time formats. +ISO8601 time-intervals will be supported in a later release. + +This requires perl-DateTime and perl-DateTime-Format-Builder. diff --git a/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.SlackBuild b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.SlackBuild new file mode 100644 index 0000000000000..3eff3eb09501d --- /dev/null +++ b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime-Format-ISO8601 + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=DateTime-Format-ISO8601 +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.07} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/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 || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE 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-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.info b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.info new file mode 100644 index 0000000000000..2e711b0595fae --- /dev/null +++ b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime-Format-ISO8601" +VERSION="0.07" +HOMEPAGE="http://search.cpan.org/dist/DateTime-Format-ISO8601/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO8601-0.07.tar.gz" +MD5SUM="debb51180d0318ae09cad01c544a1d7d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime-Format-ISO8601/slack-desc b/perl/perl-DateTime-Format-ISO8601/slack-desc new file mode 100644 index 0000000000000..635e1c7f6a434 --- /dev/null +++ b/perl/perl-DateTime-Format-ISO8601/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-DateTime-Format-ISO8601: perl-DateTime-Format-ISO8601 (Parses ISO8601 date and time formats) +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: DateTime::Format::ISO8601 Parses almost all ISO8601 date and time +perl-DateTime-Format-ISO8601: formats. ISO8601 time-intervals will be supported in a later release. +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: diff --git a/perl/perl-DateTime-Format-Strptime/README b/perl/perl-DateTime-Format-Strptime/README new file mode 100644 index 0000000000000..7e78860eeb9cc --- /dev/null +++ b/perl/perl-DateTime-Format-Strptime/README @@ -0,0 +1,4 @@ +perl-DateTime-Format-Strptime will parse and format strp and strf time patterns. + +This requires perl-DateTime, perl-DateTime-Locale, perl-DateTime-TimeZone, +perl-Params-Validate. diff --git a/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild new file mode 100644 index 0000000000000..bd4c261fa088d --- /dev/null +++ b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime-Format-Strptime + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=DateTime-Format-Strptime +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.4000} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + INSTALL LICENSE 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-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.info b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.info new file mode 100644 index 0000000000000..ffc9b8ce0e38e --- /dev/null +++ b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime-Format-Strptime" +VERSION="1.4000" +HOMEPAGE="http://search.cpan.org/dist/DateTime-Format-Strptime/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-1.4000.tar.gz" +MD5SUM="1432a1d92fe4252586053129d5b681fa" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime-Format-Strptime/slack-desc b/perl/perl-DateTime-Format-Strptime/slack-desc new file mode 100644 index 0000000000000..5cef09ff71d30 --- /dev/null +++ b/perl/perl-DateTime-Format-Strptime/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-DateTime-Format-Strptime: perl-DateTime-Format-Strptime (parse and format time patterns) +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: DateTime-Format-Strptime will parse and format strp and strf time +perl-DateTime-Format-Strptime: patterns. +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime:
\ No newline at end of file diff --git a/perl/perl-DateTime-Locale/README b/perl/perl-DateTime-Locale/README new file mode 100644 index 0000000000000..b240ab8a2d91e --- /dev/null +++ b/perl/perl-DateTime-Locale/README @@ -0,0 +1,4 @@ +The DateTime::Locale modules provide localization data for the +DateTime.pm class. + +This requires perl-Params-Validate, perl-List-MoreUtils. diff --git a/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild b/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild new file mode 100644 index 0000000000000..ad4a37db21cf9 --- /dev/null +++ b/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime-Locale + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=DateTime-Locale +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.45} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE.cldr LICENSE 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-DateTime-Locale/perl-DateTime-Locale.info b/perl/perl-DateTime-Locale/perl-DateTime-Locale.info new file mode 100644 index 0000000000000..75c841c952c5c --- /dev/null +++ b/perl/perl-DateTime-Locale/perl-DateTime-Locale.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime-Locale" +VERSION="0.45" +HOMEPAGE="http://search.cpan.org/dist/DateTime-Locale/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Locale-0.45.tar.gz" +MD5SUM="8ba6a4b70f8fa7d987529c2e2c708862" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime-Locale/slack-desc b/perl/perl-DateTime-Locale/slack-desc new file mode 100644 index 0000000000000..2c48f147b193b --- /dev/null +++ b/perl/perl-DateTime-Locale/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-DateTime-Locale: perl-DateTime-Locale (provides localization data for DateTime class) +perl-DateTime-Locale: +perl-DateTime-Locale: The DateTime::Locale modules provide localization data for the +perl-DateTime-Locale: DateTime.pm class. +perl-DateTime-Locale: +perl-DateTime-Locale: +perl-DateTime-Locale: +perl-DateTime-Locale: +perl-DateTime-Locale: +perl-DateTime-Locale: +perl-DateTime-Locale: diff --git a/perl/perl-DateTime-TimeZone/README b/perl/perl-DateTime-TimeZone/README new file mode 100644 index 0000000000000..b1566af0aac2a --- /dev/null +++ b/perl/perl-DateTime-TimeZone/README @@ -0,0 +1,3 @@ +perl-DateTime::TimeZone - Time zone object base class and factory. + +This requires perl-Params-Validate, perl-Class::Singleton.
\ No newline at end of file diff --git a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild new file mode 100644 index 0000000000000..403617e382442 --- /dev/null +++ b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime-TimeZone + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=DateTime-TimeZone +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.20} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE 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-DateTime-TimeZone/perl-DateTime-TimeZone.info b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info new file mode 100644 index 0000000000000..64bc78b177437 --- /dev/null +++ b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime-TimeZone" +VERSION="1.20" +HOMEPAGE="http://search.cpan.org/dist/DateTime-TimeZone/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-TimeZone-1.20.tar.gz" +MD5SUM="36551459fd431809683a82ba12bd9655" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime-TimeZone/slack-desc b/perl/perl-DateTime-TimeZone/slack-desc new file mode 100644 index 0000000000000..80a7033ed6fdd --- /dev/null +++ b/perl/perl-DateTime-TimeZone/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-DateTime-TimeZone: perl-DateTime-TimeZone (Time zone object base class and factory) +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: DateTime::TimeZone - Time zone object base class and factory. +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: diff --git a/perl/perl-DateTime/README b/perl/perl-DateTime/README new file mode 100644 index 0000000000000..a763e2597f226 --- /dev/null +++ b/perl/perl-DateTime/README @@ -0,0 +1,4 @@ +A date and time object + +This requires perl-Params-Validate, perl-DateTime-Locale, +perl-DateTime-TimeZone, perl-Test-Exception, perl-Sub-Uplevel.
\ No newline at end of file diff --git a/perl/perl-DateTime/perl-DateTime.SlackBuild b/perl/perl-DateTime/perl-DateTime.SlackBuild new file mode 100644 index 0000000000000..662e1e380b88d --- /dev/null +++ b/perl/perl-DateTime/perl-DateTime.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=DateTime +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.61} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Build.PL \ + prefix=/usr \ + installdirs=vendor \ + destdir=$PKG +./Build +./Build test +./Build install \ + --install_path bindoc=/usr/man/man1 \ + --install_path libdoc=/usr/man/man3 + +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/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 || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CREDITS INSTALL LICENSE README TODO *.txt \ + $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-DateTime/perl-DateTime.info b/perl/perl-DateTime/perl-DateTime.info new file mode 100644 index 0000000000000..a919be0b56551 --- /dev/null +++ b/perl/perl-DateTime/perl-DateTime.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime" +VERSION="0.61" +HOMEPAGE="http://search.cpan.org/dist/DateTime/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-0.61.tar.gz" +MD5SUM="0802efbc53eb11a09d1528223cd52e88" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime/slack-desc b/perl/perl-DateTime/slack-desc new file mode 100644 index 0000000000000..11893321c3b8e --- /dev/null +++ b/perl/perl-DateTime/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-DateTime: perl-DateTime (A date and time object) +perl-DateTime: +perl-DateTime: A date and time object. +perl-DateTime: +perl-DateTime: +perl-DateTime: +perl-DateTime: +perl-DateTime: +perl-DateTime: +perl-DateTime: +perl-DateTime: diff --git a/perl/perl-Devel-Symdump/README b/perl/perl-Devel-Symdump/README new file mode 100644 index 0000000000000..672af44493513 --- /dev/null +++ b/perl/perl-Devel-Symdump/README @@ -0,0 +1,3 @@ +perl-Devel-Symdump (Dump symbol names or the symbol table) + +This little package serves to access the symbol table of perl. diff --git a/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild b/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild new file mode 100644 index 0000000000000..74ef39963243e --- /dev/null +++ b/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for perl-Devel-Symdump + +# Copyright 2010 V'yacheslav Stetskevych <slava18 dont_spam_me gmail com> +# 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. + +SRCNAM=Devel-Symdump +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-2.08} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ChangeLog 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-Devel-Symdump/perl-Devel-Symdump.info b/perl/perl-Devel-Symdump/perl-Devel-Symdump.info new file mode 100644 index 0000000000000..68e11af6112ab --- /dev/null +++ b/perl/perl-Devel-Symdump/perl-Devel-Symdump.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Devel-Symdump" +VERSION="2.08" +HOMEPAGE="http://search.cpan.org/~andk/Devel-Symdump-2.08/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/Devel-Symdump-2.08.tar.gz" +MD5SUM="68e3a2f2f989bff295ee63aed5a2a1e5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Devel-Symdump/slack-desc b/perl/perl-Devel-Symdump/slack-desc new file mode 100644 index 0000000000000..67db3f649f556 --- /dev/null +++ b/perl/perl-Devel-Symdump/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-Devel-Symdump: perl-Devel-Symdump (Dump symbol names or the symbol table) +perl-Devel-Symdump: +perl-Devel-Symdump: This little package serves to access the symbol table of perl. +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: diff --git a/perl/perl-Device-SerialPort/README b/perl/perl-Device-SerialPort/README new file mode 100644 index 0000000000000..5df45d4fe5309 --- /dev/null +++ b/perl/perl-Device-SerialPort/README @@ -0,0 +1,3 @@ +perl-Device-SerialPort (Perl serial port access library) + +Provides Linux/POSIX emulation of Win32::SerialPort functions. diff --git a/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild b/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild new file mode 100644 index 0000000000000..5128eca5ecd5a --- /dev/null +++ b/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/sh + +# Slackware build script for perl-Device-SerialPort +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=Device-SerialPort +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.04} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README TODO Changes \ + $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-Device-SerialPort/perl-Device-SerialPort.info b/perl/perl-Device-SerialPort/perl-Device-SerialPort.info new file mode 100644 index 0000000000000..caeca5775685c --- /dev/null +++ b/perl/perl-Device-SerialPort/perl-Device-SerialPort.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Device-SerialPort" +VERSION="1.04" +HOMEPAGE="http://search.cpan.org/~cook/Device-SerialPort-1.04/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/C/CO/COOK/Device-SerialPort-1.04.tar.gz" +MD5SUM="82c698151f934eb28c65d1838cee7d9e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Device-SerialPort/slack-desc b/perl/perl-Device-SerialPort/slack-desc new file mode 100644 index 0000000000000..c902c997df8bf --- /dev/null +++ b/perl/perl-Device-SerialPort/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-Device-SerialPort: perl-Device-SerialPort (Perl serial port access library) +perl-Device-SerialPort: +perl-Device-SerialPort: Provides Linux/POSIX emulation of Win32::SerialPort functions. +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: diff --git a/perl/perl-Digest-MD4/README b/perl/perl-Digest-MD4/README new file mode 100644 index 0000000000000..30baf6ac25e17 --- /dev/null +++ b/perl/perl-Digest-MD4/README @@ -0,0 +1,4 @@ +The Digest::MD4 module allows you to use the RSA Data Security +Inc. MD5 Message Digest algorithm from within Perl programs. The +algorithm takes as input a message of arbitrary length and produces +as output a 128-bit "fingerprint" or "message digest" of the input. diff --git a/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild b/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild new file mode 100644 index 0000000000000..a7dd5e10fe93d --- /dev/null +++ b/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +# Slackware build script for perl-Digest-MD4 + +# Copyright 2011 Robby Workman, Northport, Alabama, USA +# 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-Digest-MD4 +VERSION=${VERSION:-1.5} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +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 + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README Changes $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-Digest-MD4/perl-Digest-MD4.info b/perl/perl-Digest-MD4/perl-Digest-MD4.info new file mode 100644 index 0000000000000..8bb944ed0fffc --- /dev/null +++ b/perl/perl-Digest-MD4/perl-Digest-MD4.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Digest-MD4" +VERSION="1.5" +HOMEPAGE="http://search.cpan.org/~mikem/Digest-MD4-1.5/MD4.pm" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-1.5.tar.gz" +MD5SUM="594d661c18b46a4aea97931dcaf5ce14" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Robby Workman" +EMAIL="rw@rlworkman.net" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-Digest-MD4/slack-desc b/perl/perl-Digest-MD4/slack-desc new file mode 100644 index 0000000000000..d8a78b4beb21e --- /dev/null +++ b/perl/perl-Digest-MD4/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-Digest-MD4: perl-Digest-MD4 (Digest::MD4 perl module) +perl-Digest-MD4: +perl-Digest-MD4: The Digest::MD4 module allows you to use the RSA Data Security +perl-Digest-MD4: Inc. MD5 Message Digest algorithm from within Perl programs. The +perl-Digest-MD4: algorithm takes as input a message of arbitrary length and produces +perl-Digest-MD4: as output a 128-bit "fingerprint" or "message digest" of the input. +perl-Digest-MD4: +perl-Digest-MD4: +perl-Digest-MD4: +perl-Digest-MD4: +perl-Digest-MD4: diff --git a/perl/perl-Email-Date-Format/README b/perl/perl-Email-Date-Format/README new file mode 100644 index 0000000000000..a44e6f7017594 --- /dev/null +++ b/perl/perl-Email-Date-Format/README @@ -0,0 +1,4 @@ +perl-Email-Date-Format (produce RFC 2822 date strings) + +This module provides a simple means for generating an RFC 2822 +compliant datetime string. diff --git a/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild b/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild new file mode 100644 index 0000000000000..d2b5025b9d46f --- /dev/null +++ b/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for perl-Email-Date-Format +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=Email-Date-Format +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.002} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README Changes \ + $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-Email-Date-Format/perl-Email-Date-Format.info b/perl/perl-Email-Date-Format/perl-Email-Date-Format.info new file mode 100644 index 0000000000000..adb6dc548d58d --- /dev/null +++ b/perl/perl-Email-Date-Format/perl-Email-Date-Format.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Email-Date-Format" +VERSION="1.002" +HOMEPAGE="http://search.cpan.org/~rjbs/Email-Date-Format-1.002/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Date-Format-1.002.tar.gz" +MD5SUM="7ae25275da6ab272aa8b40141eac9f82" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Email-Date-Format/slack-desc b/perl/perl-Email-Date-Format/slack-desc new file mode 100644 index 0000000000000..3062694970766 --- /dev/null +++ b/perl/perl-Email-Date-Format/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-Email-Date-Format: perl-Email-Date-Format (produce RFC 2822 date strings) +perl-Email-Date-Format: +perl-Email-Date-Format: This module provides a simple means for generating an RFC 2822 +perl-Email-Date-Format: compliant datetime string. +perl-Email-Date-Format: +perl-Email-Date-Format: +perl-Email-Date-Format: +perl-Email-Date-Format: +perl-Email-Date-Format: +perl-Email-Date-Format: +perl-Email-Date-Format: diff --git a/perl/perl-Encode-Detect/README b/perl/perl-Encode-Detect/README new file mode 100644 index 0000000000000..50d1bb2dc6f4e --- /dev/null +++ b/perl/perl-Encode-Detect/README @@ -0,0 +1,4 @@ +perl-Encode-Detect detects charset of the input data and detects it using +the encoder of the detected charsets. + +perl-Encode-Detect is an optional enhancement for SpamAssassin. diff --git a/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild new file mode 100644 index 0000000000000..87a7702cddc14 --- /dev/null +++ b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Encode::Detect +# Home Page http://search.cpan.org/dist/Encode-Detect/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Encode-Detect +PRGNAM=perl-Encode-Detect +VERSION=1.01 +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} + +set -e + +DOCS="Changes LICENSE" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +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-Encode-Detect/perl-Encode-Detect.info b/perl/perl-Encode-Detect/perl-Encode-Detect.info new file mode 100644 index 0000000000000..f00b95cffc9e1 --- /dev/null +++ b/perl/perl-Encode-Detect/perl-Encode-Detect.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Encode-Detect" +VERSION="1.01" +HOMEPAGE="http://search.cpan.org/dist/Encode-Detect/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JG/JGMYERS/Encode-Detect-1.01.tar.gz" +MD5SUM="ee9faf55d7105c97b02b8ebe590819c7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Encode-Detect/slack-desc b/perl/perl-Encode-Detect/slack-desc new file mode 100644 index 0000000000000..558d52ef41758 --- /dev/null +++ b/perl/perl-Encode-Detect/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-Encode-Detect: perl-Encode-Detect (Encode::Detect) +perl-Encode-Detect: +perl-Encode-Detect: perl-Encode-Detect detects charset of the input data and +perl-Encode-Detect: detects it using the encoder of the detected charsets. +perl-Encode-Detect: +perl-Encode-Detect: +perl-Encode-Detect: Homepage: http://search.cpan.org/dist/Encode-Detect/ +perl-Encode-Detect: +perl-Encode-Detect: +perl-Encode-Detect: +perl-Encode-Detect: diff --git a/perl/perl-ExtUtils-XSBuilder/README b/perl/perl-ExtUtils-XSBuilder/README new file mode 100644 index 0000000000000..233214abb5247 --- /dev/null +++ b/perl/perl-ExtUtils-XSBuilder/README @@ -0,0 +1,12 @@ +perl-ExtUtils-XSBuilder (automatic XS glue code generation) + +XSBuilder is a set modules to parse C header files and create XS +glue code and documentation out of it. Idealy this allows to "write" +an interface to a C library without coding a line. Since no C-API is +ideal, some adjuments are necessary most of the time. So to use this +module you must still be familar with C and XS programming, but it +removes a lot of stupid work and copy&paste from you. Also when the +C API changes, most of the time you only have to rerun XSBuilder to +get your new Perl API. + +This requires perl-Parse-RecDescent and perl-Tie-IxHash. diff --git a/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild new file mode 100644 index 0000000000000..70c6090d566f3 --- /dev/null +++ b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for perl-ExtUtils-XSBuilder + +# Copyright 2009 David Somero (dsomero@hotmail.com) Athens,TN USA +# 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-ExtUtils-XSBuilder +VERSION=${VERSION:-0.28} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=ExtUtils-XSBuilder + +# 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} + +DOCS="Changes README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=vendor +make +make test +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr/ + +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f + find . -depth -type d -empty -delete +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.info b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.info new file mode 100644 index 0000000000000..c327941f65db6 --- /dev/null +++ b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.info @@ -0,0 +1,10 @@ +PRGNAM="perl-ExtUtils-XSBuilder" +VERSION="0.28" +HOMEPAGE="http://search.cpan.org/dist/ExtUtils-XSBuilder" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GR/GRICHTER/ExtUtils-XSBuilder-0.28.tar.gz" +MD5SUM="1d33ddeacc01426a02e23c71c2e4cd04" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="rworkman" diff --git a/perl/perl-ExtUtils-XSBuilder/slack-desc b/perl/perl-ExtUtils-XSBuilder/slack-desc new file mode 100644 index 0000000000000..2f4d36231a276 --- /dev/null +++ b/perl/perl-ExtUtils-XSBuilder/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-ExtUtils-XSBuilder: perl-ExtUtils-XSBuilder (automatic XS glue code generation) +perl-ExtUtils-XSBuilder: +perl-ExtUtils-XSBuilder: XSBuilder is a set modules to parse C header files and create XS +perl-ExtUtils-XSBuilder: glue code and documentation out of it. Idealy this allows to "write" +perl-ExtUtils-XSBuilder: an interface to a C library without coding a line. Since no C-API is +perl-ExtUtils-XSBuilder: ideal, some adjuments are necessary most of the time. So to use this +perl-ExtUtils-XSBuilder: module you must still be familar with C and XS programming, but it +perl-ExtUtils-XSBuilder: removes a lot of stupid work and copy&paste from you. +perl-ExtUtils-XSBuilder: +perl-ExtUtils-XSBuilder: Homepage: http://search.cpan.org/dist/ExtUtils-XSBuilder +perl-ExtUtils-XSBuilder: diff --git a/perl/perl-FCGI/README b/perl/perl-FCGI/README new file mode 100644 index 0000000000000..8d94b042bc1e4 --- /dev/null +++ b/perl/perl-FCGI/README @@ -0,0 +1,6 @@ +This is a Fast CGI module for perl. It's based on the FCGI module +that comes with Open Market's FastCGI Developer's Kit, but does +not require you to recompile perl. + +This package enables you to use CGI::Fast, a subclass of CGI, which +already is a part of Slackware's Perl package. diff --git a/perl/perl-FCGI/perl-FCGI.SlackBuild b/perl/perl-FCGI/perl-FCGI.SlackBuild new file mode 100644 index 0000000000000..58daef98118a4 --- /dev/null +++ b/perl/perl-FCGI/perl-FCGI.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +# Slackware build script for perl-FCGI +# Written by Thomas Morper <thomas@beingboiled.info> + +SRCNAM=FCGI +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.71} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/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" -empty | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ChangeLog LICENSE.TERMS 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-FCGI/perl-FCGI.info b/perl/perl-FCGI/perl-FCGI.info new file mode 100644 index 0000000000000..bfb6048def9a4 --- /dev/null +++ b/perl/perl-FCGI/perl-FCGI.info @@ -0,0 +1,10 @@ +PRGNAM="perl-FCGI" +VERSION="0.71" +HOMEPAGE="http://search.cpan.org/~flora/FCGI/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-0.71.tar.gz" +MD5SUM="26bc4ea53ccc9c9c16695e88e46a1cfb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" +APPROVED="Erik Hanson" diff --git a/perl/perl-FCGI/slack-desc b/perl/perl-FCGI/slack-desc new file mode 100644 index 0000000000000..d6756e8cd61ec --- /dev/null +++ b/perl/perl-FCGI/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-FCGI: FCGI (Fast CGI module) +perl-FCGI: +perl-FCGI: This is a Fast CGI module for perl. It's based on the FCGI module +perl-FCGI: that comes with Open Market's FastCGI Developer's Kit, but does not +perl-FCGI: require you to recompile perl. +perl-FCGI: +perl-FCGI: This package enables you to use CGI::Fast, a subclass of CGI, which +perl-FCGI: already is a part of Slackware's Perl package. +perl-FCGI: +perl-FCGI: +perl-FCGI: diff --git a/perl/perl-File-Slurp/README b/perl/perl-File-Slurp/README new file mode 100644 index 0000000000000..738ef85e933af --- /dev/null +++ b/perl/perl-File-Slurp/README @@ -0,0 +1,3 @@ +This perl module provides subs that allow you to read or write entire +files with one simple call. They are designed to be simple to use, have +flexible ways to pass in or get the file contents and to be very efficient. diff --git a/perl/perl-File-Slurp/perl-File-Slurp.SlackBuild b/perl/perl-File-Slurp/perl-File-Slurp.SlackBuild new file mode 100644 index 0000000000000..d23efef2d9235 --- /dev/null +++ b/perl/perl-File-Slurp/perl-File-Slurp.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +# Slackware build script for perl-File-Slurp + +# Copyright 2008 David Somero <dsomero@hotmail.com> Athens,TN USA +# 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-File-Slurp +SRCNAM=File-Slurp +VERSION=9999.13 +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} + +DOCS="README Changes" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar -xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +perl Makefile.PL +make +make install INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 DESTDIR=$PKG +gzip -9 $PKG/usr/man/man3/* 2> /dev/null + +# Remove perlocal.pod and .packlist and .bs files from $PKG +( for i in perllocal.pod .packlist .bs; do + find $PKG -name "$i" -exec rm -rf {} \; + done +) +# Remove empty directory hierarchy +rmdir --parents \ + $PKG/usr/lib/perl5/vendor_perl/5.10.0/i486-linux-thread-multi/auto/File/Slurp/ \ + $PKG/usr/lib/perl5/5.10.0/i486-linux-thread-multi 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* + +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-File-Slurp/perl-File-Slurp.info b/perl/perl-File-Slurp/perl-File-Slurp.info new file mode 100644 index 0000000000000..c9a557846b239 --- /dev/null +++ b/perl/perl-File-Slurp/perl-File-Slurp.info @@ -0,0 +1,10 @@ +PRGNAM="perl-File-Slurp" +VERSION="9999.13" +HOMEPAGE="http://search.cpan.org/dist/File-Slurp" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/File-Slurp-9999.13.tar.gz" +MD5SUM="ac3cd9d466b99d1534762ff3549aaa66" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="rworkman" diff --git a/perl/perl-File-Slurp/slack-desc b/perl/perl-File-Slurp/slack-desc new file mode 100644 index 0000000000000..33e589210cc40 --- /dev/null +++ b/perl/perl-File-Slurp/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-File-Slurp: perl-File-Slurp (File::Slurp perl module) +perl-File-Slurp: +perl-File-Slurp: This module provides subs that allow you to read or +perl-File-Slurp: write entire files with one simple call. They are +perl-File-Slurp: designed to be simple to use, have flexible ways to +perl-File-Slurp: pass in or get the file contents, and to be very +perl-File-Slurp: efficient. +perl-File-Slurp: +perl-File-Slurp: Homepage: http://search.cpan.org/dist/File-Slurp +perl-File-Slurp: +perl-File-Slurp: diff --git a/perl/perl-Geography-Countries/README b/perl/perl-Geography-Countries/README new file mode 100644 index 0000000000000..8f990f7bc3ddb --- /dev/null +++ b/perl/perl-Geography-Countries/README @@ -0,0 +1,3 @@ +perl-Geography-Countries module maps country names, and their 2-letter, +3-letter and numerical codes, as defined by the ISO-3166 maintenance agency, +and defined by the UNSD. diff --git a/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild b/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild new file mode 100644 index 0000000000000..f93ec76375297 --- /dev/null +++ b/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild @@ -0,0 +1,115 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Geography::Countries +# Home Page http://search.cpan.org/dist/Geography-Countries + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM="Geography-Countries-2009041301" +PRGNAM="perl-Geography-Countries" +VERSION="20090413" +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} + +set -e + +DOCS="Changes README TODO" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +### clean up from previous builds +rm -fr $TMP/$SRCNAM $PKG +mkdir -p $TMP $PKG $OUTPUT +### Extracting the source tarballs +cd $TMP +tar xzvf $CWD/$SRCNAM.tar.gz +cd $TMP/$SRCNAM + +chown -R root.root . +find . \ +\( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ +-exec chmod 644 {} \; +find . \ +\( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \ +-exec chmod 755 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +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-Geography-Countries/perl-Geography-Countries.info b/perl/perl-Geography-Countries/perl-Geography-Countries.info new file mode 100644 index 0000000000000..2ddc276c16f0f --- /dev/null +++ b/perl/perl-Geography-Countries/perl-Geography-Countries.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Geography-Countries" +VERSION="20090413" +HOMEPAGE="http://search.cpan.org/dist/Geography-Countries/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AB/ABIGAIL/Geography-Countries-2009041301.tar.gz" +MD5SUM="2c9ef26b46bbeca9abbca5015cc748b9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Geography-Countries/slack-desc b/perl/perl-Geography-Countries/slack-desc new file mode 100644 index 0000000000000..a60189d896735 --- /dev/null +++ b/perl/perl-Geography-Countries/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-Geography-Countries: perl-Geography-Countries (Geography::Countries) +perl-Geography-Countries: +perl-Geography-Countries: perl-Geography-Countries module maps country names, +perl-Geography-Countries: and their 2-letter, 3-letter and numerical codes, +perl-Geography-Countries: as defined by the ISO-3166 maintenance agency, +perl-Geography-Countries: and defined by the UNSD. +perl-Geography-Countries: +perl-Geography-Countries: Homepage: http://search.cpan.org/dist/Geography-Countries/ +perl-Geography-Countries: +perl-Geography-Countries: +perl-Geography-Countries: diff --git a/perl/perl-HTTP-Proxy/README b/perl/perl-HTTP-Proxy/README new file mode 100644 index 0000000000000..9b6889363b068 --- /dev/null +++ b/perl/perl-HTTP-Proxy/README @@ -0,0 +1,6 @@ +This module implements an HTTP proxy, using an HTTP::Daemon to accept +client connections, and a LWP::UserAgent to ask for the requested +pages. The most interesting feature of this proxy object is its ability +to filter the HTTP requests and responses through user-defined filters. + +This needs libwww-perl. diff --git a/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.SlackBuild b/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.SlackBuild new file mode 100644 index 0000000000000..6165479846e33 --- /dev/null +++ b/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.SlackBuild @@ -0,0 +1,66 @@ +#!/bin/sh + +# Slackware build script for perl-HTTP-Proxy +# Written by Thomas Morper <thomas@beingboiled.info> + +SRCNAM=HTTP-Proxy +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.24} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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" -empty | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + +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-HTTP-Proxy/perl-HTTP-Proxy.info b/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.info new file mode 100644 index 0000000000000..5e01625a5a57d --- /dev/null +++ b/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.info @@ -0,0 +1,10 @@ +PRGNAM="perl-HTTP-Proxy" +VERSION="0.24" +HOMEPAGE="http://search.cpan.org/~book/HTTP-Proxy/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BO/BOOK/HTTP-Proxy-0.24.tar.gz" +MD5SUM="a3c3b7df0339c0251c952a6fc00da5e8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" +APPROVED="Erik Hanson" diff --git a/perl/perl-HTTP-Proxy/slack-desc b/perl/perl-HTTP-Proxy/slack-desc new file mode 100644 index 0000000000000..b56dc1c3d0f04 --- /dev/null +++ b/perl/perl-HTTP-Proxy/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-HTTP-Proxy: perl-HTTP-Proxy (a pure Perl HTTP proxy) +perl-HTTP-Proxy: +perl-HTTP-Proxy: This module implements an HTTP proxy, using an HTTP::Daemon to accept +perl-HTTP-Proxy: client connections, and a LWP::UserAgent to ask for the requested +perl-HTTP-Proxy: pages. The most interesting feature of this proxy object is its +perl-HTTP-Proxy: ability to filter the HTTP requests and responses through user- +perl-HTTP-Proxy: defined filters. +perl-HTTP-Proxy: +perl-HTTP-Proxy: +perl-HTTP-Proxy: +perl-HTTP-Proxy: diff --git a/perl/perl-IO-Interface/README b/perl/perl-IO-Interface/README new file mode 100644 index 0000000000000..cfccd42a6af5e --- /dev/null +++ b/perl/perl-IO-Interface/README @@ -0,0 +1,7 @@ +IO::Interface - Perl extension for access to network card configuration +information + +IO::Interface adds methods to IO::Socket objects that allows them to be used +to retrieve and change information about the network interfaces on your +system. In addition to the object-oriented access methods, you can use a +function-oriented style. diff --git a/perl/perl-IO-Interface/perl-IO-Interface.SlackBuild b/perl/perl-IO-Interface/perl-IO-Interface.SlackBuild new file mode 100644 index 0000000000000..a962da6cb2f6c --- /dev/null +++ b/perl/perl-IO-Interface/perl-IO-Interface.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-IO-Interface + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-IO-Interface +VERSION=${VERSION:-1.05} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=IO-Interface +DOCS="README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-IO-Interface/perl-IO-Interface.info b/perl/perl-IO-Interface/perl-IO-Interface.info new file mode 100644 index 0000000000000..bcc8784358380 --- /dev/null +++ b/perl/perl-IO-Interface/perl-IO-Interface.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-Interface" +VERSION="1.05" +HOMEPAGE="http://search.cpan.org/dist/IO-Interface/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/L/LD/LDS/IO-Interface-1.05.tar.gz" +MD5SUM="0ac2e6bac4d385a01355acea8b6190cc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-IO-Interface/slack-desc b/perl/perl-IO-Interface/slack-desc new file mode 100644 index 0000000000000..9ae54ad4b6327 --- /dev/null +++ b/perl/perl-IO-Interface/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-IO-Interface: perl-IO-Interface (access to network card configuration information) +perl-IO-Interface: +perl-IO-Interface: IO::Interface adds methods to IO::Socket objects that allows them +perl-IO-Interface: to be used to retrieve and change information about the network +perl-IO-Interface: interfaces on your system. In addition to the object-oriented access +perl-IO-Interface: methods, you can use a function-oriented style. +perl-IO-Interface: +perl-IO-Interface: +perl-IO-Interface: +perl-IO-Interface: +perl-IO-Interface: diff --git a/perl/perl-IO-Socket-INET6/README b/perl/perl-IO-Socket-INET6/README new file mode 100644 index 0000000000000..606b8e33d9a11 --- /dev/null +++ b/perl/perl-IO-Socket-INET6/README @@ -0,0 +1,7 @@ +IO::Socket::INET6 - Object interface for AF_INET|AF_INET6 domain sockets + +IO::Socket::INET6 provides an object interface to creating and using sockets +in either AF_INET or AF_INET6 domains. It is built upon the IO::Socket +interface and inherits all the methods defined by IO::Socket. + +This requires perl-Socket6. diff --git a/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild new file mode 100644 index 0000000000000..5d1ebad2c3065 --- /dev/null +++ b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-IO-Socket-INET6 + +# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> +# 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-IO-Socket-INET6 +VERSION=${VERSION:-2.65} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=IO-Socket-INET6 +DOCS="README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-IO-Socket-INET6/perl-IO-Socket-INET6.info b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.info new file mode 100644 index 0000000000000..30e0aa6a188ac --- /dev/null +++ b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-Socket-INET6" +VERSION="2.65" +HOMEPAGE="http://search.cpan.org/dist/IO-Socket-INET6/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-2.65.tar.gz" +MD5SUM="4ac4a245b3c31a09e01c755b16a1e3e2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-IO-Socket-INET6/slack-desc b/perl/perl-IO-Socket-INET6/slack-desc new file mode 100644 index 0000000000000..1b34dd36d0b54 --- /dev/null +++ b/perl/perl-IO-Socket-INET6/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-IO-Socket-INET6: perl-IO-Socket-INET6 (interface for AF_INET|AF_INET6 domain sockets) +perl-IO-Socket-INET6: +perl-IO-Socket-INET6: IO::Socket::INET6 provides an object interface to creating and using +perl-IO-Socket-INET6: sockets in either AF_INET or AF_INET6 domains. It is built upon the +perl-IO-Socket-INET6: IO::Socket interface and inherits all the methods defined by +perl-IO-Socket-INET6: IO::Socket. +perl-IO-Socket-INET6: +perl-IO-Socket-INET6: +perl-IO-Socket-INET6: +perl-IO-Socket-INET6: +perl-IO-Socket-INET6: diff --git a/perl/perl-IO-Socket-Multicast/README b/perl/perl-IO-Socket-Multicast/README new file mode 100644 index 0000000000000..f83077e92f821 --- /dev/null +++ b/perl/perl-IO-Socket-Multicast/README @@ -0,0 +1,9 @@ +IO::Socket::Multicast - Perl extension to send and receive multicast messages + +The IO::Socket::Multicast module subclasses IO::Socket::INET to enable +you to manipulate multicast groups. With this module (and an operating +system that supports multicasting), you will be able to receive incoming +multicast transmissions and generate your own outgoing multicast +packets. + +This requires perl-IO-Interface. diff --git a/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.SlackBuild b/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.SlackBuild new file mode 100644 index 0000000000000..1eb60ecd0e773 --- /dev/null +++ b/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for perl-IO-Multicast + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-IO-Socket-Multicast +VERSION=${VERSION:-1.12} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=IO-Socket-Multicast +DOCS="README" + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +find $PKG/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" -exec rm -f {} \; +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-IO-Socket-Multicast/perl-IO-Socket-Multicast.info b/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.info new file mode 100644 index 0000000000000..4e5c6b0504d88 --- /dev/null +++ b/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-Socket-Multicast" +VERSION="1.12" +HOMEPAGE="http://search.cpan.org/dist/IO-Socket-Multicast/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BR/BRAMBLE/IO-Socket-Multicast-1.12.tar.gz" +MD5SUM="c96e6cbb367b1d11ffe7bb9fbd833540" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="CARLIER Gaetan" +EMAIL="gcembed@gmail.com" +APPROVED="rworkman" diff --git a/perl/perl-IO-Socket-Multicast/slack-desc b/perl/perl-IO-Socket-Multicast/slack-desc new file mode 100644 index 0000000000000..8c3b48a5cf840 --- /dev/null +++ b/perl/perl-IO-Socket-Multicast/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-IO-Socket-Multicast: perl-IO-Socket-Multicast (Send and receive multicast messages) +perl-IO-Socket-Multicast: +perl-IO-Socket-Multicast: The IO::Socket::Multicast module subclasses IO::Socket::INET to +perl-IO-Socket-Multicast: enable you to manipulate multicast groups. With this module (and an +perl-IO-Socket-Multicast: operating system that supports multicasting), you will be able to +perl-IO-Socket-Multicast: receive incoming multicast transmissions and generate your own +perl-IO-Socket-Multicast: outgoing multicast packets. +perl-IO-Socket-Multicast: +perl-IO-Socket-Multicast: +perl-IO-Socket-Multicast: +perl-IO-Socket-Multicast: diff --git a/perl/perl-IO-Socket-SSL/README b/perl/perl-IO-Socket-SSL/README new file mode 100644 index 0000000000000..c923a9819445e --- /dev/null +++ b/perl/perl-IO-Socket-SSL/README @@ -0,0 +1,17 @@ +IO::Socket::SSL -- Nearly transparent SSL encapsulation for IO::Socket::INET. + +This module is a true drop-in replacement for IO::Socket::INET that uses SSL +to encrypt data before it is transferred to a remote server or client. +IO::Socket::SSL supports all the extra features that one needs to write a +full-featured SSL client or server application: multiple SSL contexts, cipher +selection, certificate verification, and SSL version selection. As an extra +bonus, it works perfectly with mod_perl. + +In order to use IO::Socket::SSL you need to have Net::SSLeay v1.21 or later, +avalaible as Net-SSLeay from SlackBuilds.org. This package as also an +optional dependency on libwww-perl which can be installed from SlackBuilds.org +as well. Another optional dependency is on international domain names +handling module, it's recommended to install either Net::IDN::Encode or +Net::LibIDN. The latter is avalaible from SlackBuilds.org, if none of these +are found found, however, the library will switch to internal name resolution +routines (and prints out a big ugly WARNING at compile time ;-) ). diff --git a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild new file mode 100644 index 0000000000000..af8fc8f46cada --- /dev/null +++ b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware build script for perl-IO-Socket-SSL + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-IO-Socket-SSL +VERSION=${VERSION:-1.24} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +SRC_PRGNAM=IO-Socket-SSL +DOCS="BUGS Changes README" + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-IO-Socket-SSL/perl-IO-Socket-SSL.info b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.info new file mode 100644 index 0000000000000..5849d85676db1 --- /dev/null +++ b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-Socket-SSL" +VERSION="1.24" +HOMEPAGE="http://search.cpan.org/~sullr/IO-Socket-SSL-1.24/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-1.24.tar.gz" +MD5SUM="53a407291bf9b3e09ae0f0cff90799a9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-IO-Socket-SSL/slack-desc b/perl/perl-IO-Socket-SSL/slack-desc new file mode 100644 index 0000000000000..8bbdf0270bc01 --- /dev/null +++ b/perl/perl-IO-Socket-SSL/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-IO-Socket-SSL: perl-IO-Socket-SSL (Transparent SSL encapsulation for IO::Socket::INET) +perl-IO-Socket-SSL: +perl-IO-Socket-SSL: This module is a true drop-in replacement for IO::Socket::INET that +perl-IO-Socket-SSL: uses SSL to encrypt data before it is transferred to a remote server or +perl-IO-Socket-SSL: client. IO::Socket::SSL supports all the extra features that one needs +perl-IO-Socket-SSL: to write a full-featured SSL client or server application: multiple SSL +perl-IO-Socket-SSL: contexts, cipher selection, certificate verification, and SSL version +perl-IO-Socket-SSL: selection. As an extra bonus, it works perfectly with mod_perl. +perl-IO-Socket-SSL: +perl-IO-Socket-SSL: +perl-IO-Socket-SSL: diff --git a/perl/perl-IO-stringy/README b/perl/perl-IO-stringy/README new file mode 100644 index 0000000000000..0cfe2b3878ab8 --- /dev/null +++ b/perl/perl-IO-stringy/README @@ -0,0 +1,5 @@ +perl-IO-stringy provides modules for performing both traditional and +object-oriented i/o on things other than normal filehandles; in particular, +IO::Scalar, IO::ScalarArray, and IO::Lines. + +perl-IO-stringy is required by perl-MIME-tools and amavisd-new. diff --git a/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild b/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild new file mode 100644 index 0000000000000..19596b8e6dafd --- /dev/null +++ b/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: IO-stringy +# Home Page http://search.cpan.org/dist/IO-stringy/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=IO-stringy +PRGNAM=perl-IO-stringy +VERSION=2.110 +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} + +set -e + +DOCS="README COPYING" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +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-IO-stringy/perl-IO-stringy.info b/perl/perl-IO-stringy/perl-IO-stringy.info new file mode 100644 index 0000000000000..41f9f0cf13fbd --- /dev/null +++ b/perl/perl-IO-stringy/perl-IO-stringy.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-stringy" +VERSION="2.110" +HOMEPAGE="http://search.cpan.org/dist/IO-stringy/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/IO-stringy-2.110.tar.gz" +MD5SUM="2e6a976cfa5521e815c1fdf4006982de" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-IO-stringy/slack-desc b/perl/perl-IO-stringy/slack-desc new file mode 100644 index 0000000000000..71277d1dd2eea --- /dev/null +++ b/perl/perl-IO-stringy/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-IO-stringy: perl-IO-stringy (IO::stringy) +perl-IO-stringy: +perl-IO-stringy: perl-IO-stringy provides perl modules for performing both +perl-IO-stringy: traditional and object-oriented i/o on things other than +perl-IO-stringy: normal filehandles. +perl-IO-stringy: +perl-IO-stringy: +perl-IO-stringy: +perl-IO-stringy: Homepage: http://search.cpan.org/dist/IO-stringy/ +perl-IO-stringy: +perl-IO-stringy: diff --git a/perl/perl-IP-Country/README b/perl/perl-IP-Country/README new file mode 100644 index 0000000000000..fe3587b5a9d42 --- /dev/null +++ b/perl/perl-IP-Country/README @@ -0,0 +1,4 @@ +perl-IP-Country provides fast lookup of country codes from IP addresses. + +perl-IP-Country is recommended for SpamAssassin. +Requires: perl-Geography-Countries
\ No newline at end of file diff --git a/perl/perl-IP-Country/perl-IP-Country.SlackBuild b/perl/perl-IP-Country/perl-IP-Country.SlackBuild new file mode 100644 index 0000000000000..85199935817b0 --- /dev/null +++ b/perl/perl-IP-Country/perl-IP-Country.SlackBuild @@ -0,0 +1,114 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: IP::Country +# Home Page http://search.cpan.org/dist/IP-Country/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=IP-Country +PRGNAM=perl-IP-Country +VERSION=2.27 +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} + +set -e + +DOCS="CHANGES README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL \ +PREFIX=/usr INSTALLDIRS=vendor \ +INSTALLVENDORMAN3DIR=/usr/man/man3 \ +INSTALLVENDORMAN1DIR=/usr/man/man1 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +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-IP-Country/perl-IP-Country.info b/perl/perl-IP-Country/perl-IP-Country.info new file mode 100644 index 0000000000000..64782c05bf121 --- /dev/null +++ b/perl/perl-IP-Country/perl-IP-Country.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IP-Country" +VERSION="2.27" +HOMEPAGE="http://search.cpan.org/dist/IP-Country/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/N/NW/NWETTERS/IP-Country-2.27.tar.gz" +MD5SUM="32932280ee4729145e85e08dad5ab8c6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-IP-Country/slack-desc b/perl/perl-IP-Country/slack-desc new file mode 100644 index 0000000000000..b0cca090d872e --- /dev/null +++ b/perl/perl-IP-Country/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-IP-Country: perl-IP-Country (IP::Country) +perl-IP-Country: +perl-IP-Country: perl-IP-Country - fast lookup of country codes from IP +perl-IP-Country: addresses. +perl-IP-Country: +perl-IP-Country: +perl-IP-Country: +perl-IP-Country: Homepage: http://search.cpan.org/dist/IP-Country/ +perl-IP-Country: +perl-IP-Country: +perl-IP-Country: diff --git a/perl/perl-Image-Info/README b/perl/perl-Image-Info/README new file mode 100644 index 0000000000000..3068061bd9c65 --- /dev/null +++ b/perl/perl-Image-Info/README @@ -0,0 +1,3 @@ +perl-Image-Info extracts meta information from image files + +This is recommended with spamassassin. diff --git a/perl/perl-Image-Info/perl-Image-Info.SlackBuild b/perl/perl-Image-Info/perl-Image-Info.SlackBuild new file mode 100644 index 0000000000000..cd2f64c9e93ee --- /dev/null +++ b/perl/perl-Image-Info/perl-Image-Info.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Image::Info +# Home Page http://search.cpan.org/dist/Image-Info/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA +# (nishant _AT_ mnspace _DOT_ net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Image-Info +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.31} +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} + +set -e + +DOCS="CHANGES README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +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-Image-Info/perl-Image-Info.info b/perl/perl-Image-Info/perl-Image-Info.info new file mode 100644 index 0000000000000..36e9ead90783d --- /dev/null +++ b/perl/perl-Image-Info/perl-Image-Info.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Image-Info" +VERSION="1.31" +HOMEPAGE="http://search.cpan.org/dist/Image-Info/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Image-Info-1.31.tar.gz" +MD5SUM="4c5fa82385643e5153aa76090be0bbf4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Image-Info/slack-desc b/perl/perl-Image-Info/slack-desc new file mode 100644 index 0000000000000..90ff9799308e4 --- /dev/null +++ b/perl/perl-Image-Info/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-Image-Info: perl-Image-Info (Image::Info) +perl-Image-Info: +perl-Image-Info: perl-Image-Info extracts meta information from image files. +perl-Image-Info: +perl-Image-Info: +perl-Image-Info: +perl-Image-Info: Homepage: http://search.cpan.org/dist/Image-Info/ +perl-Image-Info: +perl-Image-Info: +perl-Image-Info: +perl-Image-Info: diff --git a/perl/perl-Image-Size/README b/perl/perl-Image-Size/README new file mode 100644 index 0000000000000..cc2b266be6da4 --- /dev/null +++ b/perl/perl-Image-Size/README @@ -0,0 +1,2 @@ +Image::Size - Determine the size of images in several common formats + diff --git a/perl/perl-Image-Size/perl-Image-Size.SlackBuild b/perl/perl-Image-Size/perl-Image-Size.SlackBuild new file mode 100644 index 0000000000000..253a49b34abdd --- /dev/null +++ b/perl/perl-Image-Size/perl-Image-Size.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-Image-Size + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=Image-Size +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-3.221} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/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 || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ChangeLog ChangeLog.xml README.textile 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-Image-Size/perl-Image-Size.info b/perl/perl-Image-Size/perl-Image-Size.info new file mode 100644 index 0000000000000..db231ed8de543 --- /dev/null +++ b/perl/perl-Image-Size/perl-Image-Size.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Image-Size" +VERSION="3.221" +HOMEPAGE="http://search.cpan.org/dist/Image-Size/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/Image-Size-3.221.tar.gz" +MD5SUM="0f79025fc341d9a6dc4cbda7ba129377" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Image-Size/slack-desc b/perl/perl-Image-Size/slack-desc new file mode 100644 index 0000000000000..708226a51c4bf --- /dev/null +++ b/perl/perl-Image-Size/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-Image-Size: perl-Image-Size (Determine the size of images) +perl-Image-Size: +perl-Image-Size: Image::Size - Determine the size of images in several common formats. +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: diff --git a/perl/perl-List-MoreUtils/README b/perl/perl-List-MoreUtils/README new file mode 100644 index 0000000000000..ca22f0f73fd0b --- /dev/null +++ b/perl/perl-List-MoreUtils/README @@ -0,0 +1,2 @@ +perl-List-MoreUtils provides the missing functionality from List::Util +(see "SUGGESTED ADDITIONS" in its manpage). diff --git a/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild b/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild new file mode 100644 index 0000000000000..cbaeac977bab9 --- /dev/null +++ b/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-List-MoreUtils + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=List-MoreUtils +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.25_02} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + 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-List-MoreUtils/perl-List-MoreUtils.info b/perl/perl-List-MoreUtils/perl-List-MoreUtils.info new file mode 100644 index 0000000000000..2a2c4e91c5a0a --- /dev/null +++ b/perl/perl-List-MoreUtils/perl-List-MoreUtils.info @@ -0,0 +1,10 @@ +PRGNAM="perl-List-MoreUtils" +VERSION="0.25_02" +HOMEPAGE="http://search.cpan.org/dist/List-MoreUtils/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/List-MoreUtils-0.25_02.tar.gz" +MD5SUM="28ebdc31bc9f75ffc59ae4495a05513d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-List-MoreUtils/slack-desc b/perl/perl-List-MoreUtils/slack-desc new file mode 100644 index 0000000000000..f6e977cee708c --- /dev/null +++ b/perl/perl-List-MoreUtils/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-List-MoreUtils: perl-List-MoreUtils (Adds missing functionality from List::Util) +perl-List-MoreUtils: +perl-List-MoreUtils: Provides the missing functionality from List::Util (see "SUGGESTED +perl-List-MoreUtils: ADDITIONS" in its manpage). +perl-List-MoreUtils: +perl-List-MoreUtils: +perl-List-MoreUtils: +perl-List-MoreUtils: +perl-List-MoreUtils: +perl-List-MoreUtils: +perl-List-MoreUtils: diff --git a/perl/perl-MIME-Lite/README b/perl/perl-MIME-Lite/README new file mode 100644 index 0000000000000..4b539a95293b2 --- /dev/null +++ b/perl/perl-MIME-Lite/README @@ -0,0 +1,3 @@ +perl-MIME-Lite (low-calorie MIME generator) + +This requires perl-Email-Date-Format. diff --git a/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild b/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild new file mode 100644 index 0000000000000..df345cc2e7195 --- /dev/null +++ b/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for perl-MIME-Lite +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=MIME-Lite +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-3.027} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +# Disable suggested dependencies of this package +echo "n" | perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README INSTALLING COPYING \ + $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-MIME-Lite/perl-MIME-Lite.info b/perl/perl-MIME-Lite/perl-MIME-Lite.info new file mode 100644 index 0000000000000..52d4263e2c396 --- /dev/null +++ b/perl/perl-MIME-Lite/perl-MIME-Lite.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MIME-Lite" +VERSION="3.027" +HOMEPAGE="http://search.cpan.org/~rjbs/MIME-Lite-3.027/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/MIME-Lite-3.027.tar.gz" +MD5SUM="e857febd66c45f2a5919b031fbe70aa7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-MIME-Lite/slack-desc b/perl/perl-MIME-Lite/slack-desc new file mode 100644 index 0000000000000..35ac6025be18d --- /dev/null +++ b/perl/perl-MIME-Lite/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-MIME-Lite: perl-MIME-Lite (low-calorie MIME generator) +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: diff --git a/perl/perl-MIME-tools/README b/perl/perl-MIME-tools/README new file mode 100644 index 0000000000000..e504bf7b47499 --- /dev/null +++ b/perl/perl-MIME-tools/README @@ -0,0 +1,4 @@ +perl-MIME-tools is a collection of perl modules for parsing (and creating) +MIME entities + +This requires perl-Convert-BinHex, perl-IO-stringy, and perl-MailTools. diff --git a/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild b/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild new file mode 100644 index 0000000000000..88bd2bf2f6c27 --- /dev/null +++ b/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: MIME-tools +# Home Page http://search.cpan.org/dist/MIME-Tools/ + +# Copyright (c) 2009-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ net> +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +PRGNAM=perl-MIME-tools +VERSION=${VERSION:-5.500} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=MIME-tools + +# 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} + +set -e + +DOCS="COPYING ChangeLog README* INSTALLING" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +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-MIME-tools/perl-MIME-tools.info b/perl/perl-MIME-tools/perl-MIME-tools.info new file mode 100644 index 0000000000000..2a4d271ee766f --- /dev/null +++ b/perl/perl-MIME-tools/perl-MIME-tools.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MIME-tools" +VERSION="5.500" +HOMEPAGE="http://search.cpan.org/dist/MIME-tools/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DO/DONEILL/MIME-tools-5.500.tar.gz" +MD5SUM="e1d28e4fbaedc47ff44c87b91be7f404" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-MIME-tools/slack-desc b/perl/perl-MIME-tools/slack-desc new file mode 100644 index 0000000000000..18da744f8e912 --- /dev/null +++ b/perl/perl-MIME-tools/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-MIME-tools: perl-MIME-tools (MIME::Tools) +perl-MIME-tools: +perl-MIME-tools: perl-MIME-tools is a collection of perl modules for +perl-MIME-tools: parsing (and creating) MIME entities. +perl-MIME-tools: +perl-MIME-tools: +perl-MIME-tools: +perl-MIME-tools: +perl-MIME-tools: Homepage: http://search.cpan.org/dist/MIME-tools/ +perl-MIME-tools: +perl-MIME-tools: diff --git a/perl/perl-MP3-Info/README b/perl/perl-MP3-Info/README new file mode 100644 index 0000000000000..252864eb4dd3f --- /dev/null +++ b/perl/perl-MP3-Info/README @@ -0,0 +1 @@ +MP3::Info is a perl module for getting info out of and into MP3 files. diff --git a/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild b/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild new file mode 100644 index 0000000000000..a4f472cc91696 --- /dev/null +++ b/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh + +# Slackware build script for perl-MP3-Info + +# Written by Mark Grocock <mark@grocock.me.uk> + +SRCNAM=MP3-Info +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.24} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes README TODO eg \ + $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-MP3-Info/perl-MP3-Info.info b/perl/perl-MP3-Info/perl-MP3-Info.info new file mode 100644 index 0000000000000..a32b48d5f6de5 --- /dev/null +++ b/perl/perl-MP3-Info/perl-MP3-Info.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MP3-Info" +VERSION="1.24" +HOMEPAGE="http://search.cpan.org/~daniel/MP3-Info-1.24/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/MP3-Info-1.24.tar.gz" +MD5SUM="fb4bcc43764e3b46c3a7c74b50ed7a44" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mark Grocock" +EMAIL="mark@grocock.me.uk" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-MP3-Info/slack-desc b/perl/perl-MP3-Info/slack-desc new file mode 100644 index 0000000000000..917b1f1cd345e --- /dev/null +++ b/perl/perl-MP3-Info/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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +perl-MP3-Info: perl-MP3-Info (Manipulate / fetch info from MP3 audio files) +perl-MP3-Info: +perl-MP3-Info: This is MP3::Info, for getting info out of and into MP3 files. +perl-MP3-Info: +perl-MP3-Info: http://search.cpan.org/~daniel/MP3-Info-1.24/ +perl-MP3-Info: +perl-MP3-Info: +perl-MP3-Info: +perl-MP3-Info: +perl-MP3-Info: +perl-MP3-Info: diff --git a/perl/perl-Mail-DKIM/README b/perl/perl-Mail-DKIM/README new file mode 100644 index 0000000000000..823edf64409ac --- /dev/null +++ b/perl/perl-Mail-DKIM/README @@ -0,0 +1,3 @@ +perl-Mail-DKIM signs/verifies smtp mail with DKIM/DomainKey signatures. + +This requires perl-Crypt-OpenSSL-RSA, perl-MailTools, and perl-net-dns. diff --git a/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild b/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild new file mode 100644 index 0000000000000..7611340d67f1d --- /dev/null +++ b/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Mail::DKIM +# Home Page http://search.cpan.org/dist/Mail-DKIM/ + +# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ net> +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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-Mail-DKIM +VERSION=${VERSION:-0.39} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Mail-DKIM + +# 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} + +set -e + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +DOCS="ChangeLog README" + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG ; remove empty directories +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +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-Mail-DKIM/perl-Mail-DKIM.info b/perl/perl-Mail-DKIM/perl-Mail-DKIM.info new file mode 100644 index 0000000000000..61abeac2e986d --- /dev/null +++ b/perl/perl-Mail-DKIM/perl-Mail-DKIM.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Mail-DKIM" +VERSION="0.39" +HOMEPAGE="http://search.cpan.org/dist/Mail-DKIM/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JA/JASLONG/Mail-DKIM-0.39.tar.gz" +MD5SUM="0b62c91f855f47e818d96680746572ca" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-Mail-DKIM/slack-desc b/perl/perl-Mail-DKIM/slack-desc new file mode 100644 index 0000000000000..bc2073060b603 --- /dev/null +++ b/perl/perl-Mail-DKIM/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-Mail-DKIM: perl-Mail-DKIM (Mail::DKIM) +perl-Mail-DKIM: +perl-Mail-DKIM: perl-Mail-DKIM - Signs/verifies Internet mail with +perl-Mail-DKIM: DKIM/DomainKey signatures. +perl-Mail-DKIM: +perl-Mail-DKIM: Homepage: http://search.cpan.org/dist/Mail-DKIM/ +perl-Mail-DKIM: +perl-Mail-DKIM: +perl-Mail-DKIM: +perl-Mail-DKIM: +perl-Mail-DKIM: diff --git a/perl/perl-Mail-SPF/README b/perl/perl-Mail-SPF/README new file mode 100644 index 0000000000000..ea7e7d3a0c3e6 --- /dev/null +++ b/perl/perl-Mail-SPF/README @@ -0,0 +1,9 @@ +perl-Mail-SPF is an object-oriented Perl implementation of the Sender +Policy Framework (SPF) email sender authentication system. + +perl-Mail-SPF requires (in that order): +1. perl-digest-sha1 +2. perl-digest-hmac +3. perl-NetAddr-IP +4. perl-Net-DNS +5. perl-Net-DNS-Resolver-Programmable diff --git a/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild b/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild new file mode 100644 index 0000000000000..75992015e816d --- /dev/null +++ b/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild @@ -0,0 +1,114 @@ +#!/bin/sh + +# Slackware Package Build Script for perl module: Mail::SPF +# Home Page http://search.cpan.org/dist/Mail-SPF/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Mail-SPF-v2.007 +PRGNAM=perl-Mail-SPF +VERSION=2.007 +TAG=${TAG:-_SBo} +BUILD=${BUILD:-1} + +# 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} + +DOCS="CHANGES INSTALL LICENSE README" + +set -e + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM.tar.gz +cd $TMP/$SRCNAM +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL INSTALLDIRS=vendor + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# move man pages +mv $PKG/usr/share/man $PKG/usr + +( 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/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-Mail-SPF/perl-Mail-SPF.info b/perl/perl-Mail-SPF/perl-Mail-SPF.info new file mode 100644 index 0000000000000..f1c70b52f971e --- /dev/null +++ b/perl/perl-Mail-SPF/perl-Mail-SPF.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Mail-SPF" +VERSION="2.007" +HOMEPAGE="http://search.cpan.org/dist/Mail-SPF/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.007.tar.gz" +MD5SUM="67dccdc91e3264679a0e17d493d3cc30" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Mail-SPF/slack-desc b/perl/perl-Mail-SPF/slack-desc new file mode 100644 index 0000000000000..cbd0605e18c89 --- /dev/null +++ b/perl/perl-Mail-SPF/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-Mail-SPF: perl-Mail-SPF (Mail::SPF) +perl-Mail-SPF: +perl-Mail-SPF: perl-Mail-SPF is an object-oriented implementation of +perl-Mail-SPF: Sender Policy Framework (SPF). +perl-Mail-SPF: +perl-Mail-SPF: Homepage: http://search.cpan.org/dist/Mail-SPF/ +perl-Mail-SPF: +perl-Mail-SPF: +perl-Mail-SPF: +perl-Mail-SPF: +perl-Mail-SPF: diff --git a/perl/perl-MailTools/README b/perl/perl-MailTools/README new file mode 100644 index 0000000000000..f31fe2179dd7e --- /dev/null +++ b/perl/perl-MailTools/README @@ -0,0 +1,10 @@ +perl-MailTools is a set of Perl modules related to mail applications. + +perl-mailtools provides following modules: Mail::Address Mail::Cap +Mail::Field Mail::Field::AddrList Mail::Field::Date Mail::Field::Generic +Mail::Filter Mail::Header Mail::Internet Mail::Mailer Mail::Mailer::qmail +Mail::Mailer::rfc822 Mail::Mailer::sendmail Mail::Mailer::smtp +Mail::Mailer::testfile Mail::Send Mail::Util + +perl-mailtools is required by perl-Mail-DKIM package. +Requires: perl-TimeDate diff --git a/perl/perl-MailTools/perl-MailTools.SlackBuild b/perl/perl-MailTools/perl-MailTools.SlackBuild new file mode 100644 index 0000000000000..c3eada4eea272 --- /dev/null +++ b/perl/perl-MailTools/perl-MailTools.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: MailTools +# Home Page http://search.cpan.org/dist/MailTools/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ net> +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=MailTools +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-2.07} +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} + +set -e + +DOCS="ChangeLog README" + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# 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/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-MailTools/perl-MailTools.info b/perl/perl-MailTools/perl-MailTools.info new file mode 100644 index 0000000000000..435471435c836 --- /dev/null +++ b/perl/perl-MailTools/perl-MailTools.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MailTools" +VERSION="2.07" +HOMEPAGE="http://search.cpan.org/dist/MailTools/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-2.07.tar.gz" +MD5SUM="df861e05cbcf3a336ecebfb2c42529d0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-MailTools/slack-desc b/perl/perl-MailTools/slack-desc new file mode 100644 index 0000000000000..53bde1891763c --- /dev/null +++ b/perl/perl-MailTools/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-MailTools: perl-MailTools (MailTools) +perl-MailTools: +perl-MailTools: MailTools is a set of Perl modules related +perl-MailTools: to mail applications. +perl-MailTools: +perl-MailTools: Homepage: http://search.cpan.org/dist/MailTools/ +perl-MailTools: +perl-MailTools: +perl-MailTools: +perl-MailTools: +perl-MailTools: diff --git a/perl/perl-Math-Base85/README b/perl/perl-Math-Base85/README new file mode 100644 index 0000000000000..06e906f76677e --- /dev/null +++ b/perl/perl-Math-Base85/README @@ -0,0 +1,5 @@ +Math::Base85 - Perl extension for base 85 numbers, as referenced by RFC 1924 + +RFC 1924 describes a compact, fixed-size representation of IPv6 addresses +which uses a base 85 number system. This module handles some of the uglier +details of it. diff --git a/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild b/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild new file mode 100644 index 0000000000000..27d57d0d8bc95 --- /dev/null +++ b/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Math-Base85 + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Math-Base85 +VERSION=${VERSION:-0.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Math-Base85 +DOCS="README rfc1924.txt" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Math-Base85/perl-Math-Base85.info b/perl/perl-Math-Base85/perl-Math-Base85.info new file mode 100644 index 0000000000000..19e787ece9f1c --- /dev/null +++ b/perl/perl-Math-Base85/perl-Math-Base85.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Math-Base85" +VERSION="0.2" +HOMEPAGE="http://search.cpan.org/dist/Math-Base85/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TM/TMONROE/Math-Base85-0.2.tar.gz" +MD5SUM="3a2914651dc680fd22661f35213211d3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Math-Base85/slack-desc b/perl/perl-Math-Base85/slack-desc new file mode 100644 index 0000000000000..84c3ac3ce844d --- /dev/null +++ b/perl/perl-Math-Base85/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-Math-Base85: perl-Math-Base85 (extension for base 85 numbers) +perl-Math-Base85: +perl-Math-Base85: RFC 1924 describes a compact, fixed-size representation of IPv6 +perl-Math-Base85: addresses which uses a base 85 number system. This module handles some +perl-Math-Base85: of the uglier details of it. +perl-Math-Base85: +perl-Math-Base85: +perl-Math-Base85: +perl-Math-Base85: +perl-Math-Base85: +perl-Math-Base85: diff --git a/perl/perl-Net-CIDR/README b/perl/perl-Net-CIDR/README new file mode 100644 index 0000000000000..e55c4ca22f5af --- /dev/null +++ b/perl/perl-Net-CIDR/README @@ -0,0 +1 @@ +perl-Net-CIDR perl module to manipulate IPv4/IPv6 netblocks in CIDR notation. diff --git a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild new file mode 100644 index 0000000000000..2f2c53796d26b --- /dev/null +++ b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Net::CIDR +# Home Page http://search.cpan.org/dist/Net-CIDR/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA [nishant _AT_ mnspace _DOT_ net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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-Net-CIDR +VERSION=0.14 +BUILD=${BUILD:-1} + +SRCNAM=Net-CIDR + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +TAG=${TAG:-_SBo} +OUTPUT=${OUTPUT:-/tmp} + +set -e + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +DOCS="Changes COPYING README" + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +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-Net-CIDR/perl-Net-CIDR.info b/perl/perl-Net-CIDR/perl-Net-CIDR.info new file mode 100644 index 0000000000000..9bea51def9d01 --- /dev/null +++ b/perl/perl-Net-CIDR/perl-Net-CIDR.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-CIDR" +VERSION="0.14" +HOMEPAGE="http://search.cpan.org/dist/Net-CIDR/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MR/MRSAM/testing/Net-CIDR-0.14.tar.gz" +MD5SUM="52081c62fe551a205127025c09698ec5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-Net-CIDR/slack-desc b/perl/perl-Net-CIDR/slack-desc new file mode 100644 index 0000000000000..154d3b5a254d0 --- /dev/null +++ b/perl/perl-Net-CIDR/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-Net-CIDR: perl-Net-CIDR (Net::CIDR) +perl-Net-CIDR: +perl-Net-CIDR: perl-Net-CIDR perl module to manipulate IPv4/IPv6 netblocks +perl-Net-CIDR: in CIDR notation. +perl-Net-CIDR: +perl-Net-CIDR: Homepage: http://search.cpan.org/dist/Net-CIDR/ +perl-Net-CIDR: +perl-Net-CIDR: +perl-Net-CIDR: +perl-Net-CIDR: +perl-Net-CIDR: diff --git a/perl/perl-Net-DNS-Resolver-Programmable/README b/perl/perl-Net-DNS-Resolver-Programmable/README new file mode 100644 index 0000000000000..52d59f1400fbc --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Programmable/README @@ -0,0 +1,4 @@ +perl-Net-DNS-Resolver-Programmable is a programmable DNS resolver class +for offline emulation of DNS . + +perl-Net-DNS-Resolver-Programmable is required for Mail-SPF package. diff --git a/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild new file mode 100644 index 0000000000000..5aa8bff31fe0c --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild @@ -0,0 +1,108 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Net::DNS::Resolver::Programmable +# Home Page http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Net-DNS-Resolver-Programmable-v0.003 +PRGNAM=perl-Net-DNS-Resolver-Programmable +VERSION=0.003 +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} + +set -e + +DOCS="CHANGES README INSTALL LICENSE" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM.tar.gz +cd $TMP/$SRCNAM +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# 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/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-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.info b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.info new file mode 100644 index 0000000000000..774e4adfad7fa --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-DNS-Resolver-Programmable" +VERSION="0.003" +HOMEPAGE="http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/Net-DNS-Resolver-Programmable-v0.003.tar.gz" +MD5SUM="8d44bf331d6115e7fb4ea21f6cf4b96b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Net-DNS-Resolver-Programmable/slack-desc b/perl/perl-Net-DNS-Resolver-Programmable/slack-desc new file mode 100644 index 0000000000000..e43392df409df --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Programmable/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-Net-DNS-Resolver-Programmable: perl-Net-DNS-Resolver-Programmable +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: programmable DNS resolver class for offline emulation +perl-Net-DNS-Resolver-Programmable: of DNS. +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: Homepage: http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/ +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: diff --git a/perl/perl-Net-Daemon/README b/perl/perl-Net-Daemon/README new file mode 100644 index 0000000000000..3d77deb34ffbd --- /dev/null +++ b/perl/perl-Net-Daemon/README @@ -0,0 +1,6 @@ +perl-Net-Daemon (perl extension for portable daemons) + +Net::Daemon is an abstract base class for implementing portable +server applications in a very simple way. The module is designed +for Perl 5.005 and threads, but can work with fork() and Perl 5.004. +It offers methods for the most common tasks a daemon needs. diff --git a/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild b/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild new file mode 100644 index 0000000000000..beb92d658400d --- /dev/null +++ b/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild @@ -0,0 +1,67 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Daemon + +# Written by crocket (crockabiscuit@yahoo.com) + +PRGNAM=perl-Net-Daemon +VERSION=${VERSION:-0.43} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Net-Daemon + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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 +mv $SRCNAM $SRCNAM-$VERSION +cd $SRCNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +# remove a test file that utilizes an ancient API. +rm t/thread.t + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog 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-Net-Daemon/perl-Net-Daemon.info b/perl/perl-Net-Daemon/perl-Net-Daemon.info new file mode 100644 index 0000000000000..bb934d92ae09e --- /dev/null +++ b/perl/perl-Net-Daemon/perl-Net-Daemon.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Daemon" +VERSION="0.43" +HOMEPAGE="http://search.cpan.org/~mnooning/Net-Daemon-0.43/lib/Net/Daemon.pm" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MN/MNOONING/Net-Daemon/Net-Daemon-0.43.tar.gz" +MD5SUM="a173a8407fb7b049aa465598eca6dfd7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="crocket" +EMAIL="crockabiscuit@yahoo.com" +APPROVED="rworkman" diff --git a/perl/perl-Net-Daemon/slack-desc b/perl/perl-Net-Daemon/slack-desc new file mode 100644 index 0000000000000..6b6196a9ec15a --- /dev/null +++ b/perl/perl-Net-Daemon/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-Net-Daemon: perl-Net-Daemon ( perl extention for portable daemons ) +perl-Net-Daemon: +perl-Net-Daemon: Net::Daemon is an abstract base class for implementing portable +perl-Net-Daemon: server applications in a very simple way. The module is designed +perl-Net-Daemon: for Perl 5.005 and threads, but can work with fork() and Perl 5.004. +perl-Net-Daemon: It offers methods for the most commons tasks a daemon needs. +perl-Net-Daemon: +perl-Net-Daemon: It can be found in CPAN search engine. +perl-Net-Daemon: +perl-Net-Daemon: +perl-Net-Daemon: diff --git a/perl/perl-Net-IPv4Addr/README b/perl/perl-Net-IPv4Addr/README new file mode 100644 index 0000000000000..988282d0db296 --- /dev/null +++ b/perl/perl-Net-IPv4Addr/README @@ -0,0 +1,6 @@ +Net::IPv4Addr - Perl extension for manipulating IPv4 addresses. + +Net::IPv4Addr provides functions for parsing IPv4 addresses both in +traditional address/netmask format and in the new CIDR format. There are also +methods for calculating the network and broadcast address and also to see +check if a given address is in a specific network. diff --git a/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild new file mode 100644 index 0000000000000..9fa962b9b3ed2 --- /dev/null +++ b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-IPv4Addr + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-IPv4Addr +VERSION=${VERSION:-0.10} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-IPv4Addr +DOCS="ChangeLog NEWS README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Net-IPv4Addr/perl-Net-IPv4Addr.info b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.info new file mode 100644 index 0000000000000..fb17cd10bf024 --- /dev/null +++ b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-IPv4Addr" +VERSION="0.10" +HOMEPAGE="http://search.cpan.org/dist/Net-IPv4Addr/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/F/FR/FRAJULAC/Net-IPv4Addr-0.10.tar.gz" +MD5SUM="57aa8e28ebcd4c0c9f15792740e53d3c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Net-IPv4Addr/slack-desc b/perl/perl-Net-IPv4Addr/slack-desc new file mode 100644 index 0000000000000..3ad731e82e5bf --- /dev/null +++ b/perl/perl-Net-IPv4Addr/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-Net-IPv4Addr: perl-Net-IPv4Addr (perl extension for manipulating IPv4 addresses) +perl-Net-IPv4Addr: +perl-Net-IPv4Addr: Net::IPv4Addr provides functions for parsing IPv4 addresses both in +perl-Net-IPv4Addr: traditional address/netmask format and in the new CIDR format. There +perl-Net-IPv4Addr: are also methods for calculating the network and broadcast address and +perl-Net-IPv4Addr: also to see check if a given address is in a specific network. +perl-Net-IPv4Addr: +perl-Net-IPv4Addr: +perl-Net-IPv4Addr: +perl-Net-IPv4Addr: +perl-Net-IPv4Addr: diff --git a/perl/perl-Net-IPv6Addr/README b/perl/perl-Net-IPv6Addr/README new file mode 100644 index 0000000000000..91859b2b28d0b --- /dev/null +++ b/perl/perl-Net-IPv6Addr/README @@ -0,0 +1,5 @@ +Net::IPv6Addr -- check validity of IPv6 addresses + +Net::IPv6Addr checks strings for valid IPv6 addresses, as specified in +RFC1884. You throw possible addresses at it, it either accepts them or throws +an exception. diff --git a/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild new file mode 100644 index 0000000000000..f2a08a33a24fb --- /dev/null +++ b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-IPv6Addr + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-IPv6Addr +VERSION=${VERSION:-0.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-IPv6Addr +DOCS="ChangeLog README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Net-IPv6Addr/perl-Net-IPv6Addr.info b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.info new file mode 100644 index 0000000000000..70fb6bfdb0c70 --- /dev/null +++ b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-IPv6Addr" +VERSION="0.2" +HOMEPAGE="http://search.cpan.org/dist/Net-IPv6Addr/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TM/TMONROE/Net-IPv6Addr-0.2.tar.gz" +MD5SUM="cd06f0422ddb3ac119e2ef1e27aa9339" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Net-IPv6Addr/slack-desc b/perl/perl-Net-IPv6Addr/slack-desc new file mode 100644 index 0000000000000..4ddb40ad9b39b --- /dev/null +++ b/perl/perl-Net-IPv6Addr/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-Net-IPv6Addr: perl-Net-IPv6Addr (check validity of IPv6 addresses) +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: Net::IPv6Addr checks strings for valid IPv6 addresses, as specified in +perl-Net-IPv6Addr: RFC1884. You throw possible addresses at it, it either accepts them or +perl-Net-IPv6Addr: throws an exception. +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: diff --git a/perl/perl-Net-Ident/README b/perl/perl-Net-Ident/README new file mode 100644 index 0000000000000..4b1a96a85b245 --- /dev/null +++ b/perl/perl-Net-Ident/README @@ -0,0 +1,5 @@ +perl-Net-Ident looks up the username on the remote end of a TCP/IP +connection. + + +perl-Net-Ident is recommended for SpamAssassin. diff --git a/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild b/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild new file mode 100644 index 0000000000000..eea4d268e9e3c --- /dev/null +++ b/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Net::Ident +# Home Page http://search.cpan.org/dist/Net-Ident/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Net-Ident +PRGNAM=perl-Net-Ident +VERSION=1.23 +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} + +set -e + +DOCS="Changes README" + + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f + +# find & compress man pages +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 + + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +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-Net-Ident/perl-Net-Ident.info b/perl/perl-Net-Ident/perl-Net-Ident.info new file mode 100644 index 0000000000000..9d3770fa8d2fe --- /dev/null +++ b/perl/perl-Net-Ident/perl-Net-Ident.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Ident" +VERSION="1.23" +HOMEPAGE="http://search.cpan.org/dist/Net-Ident/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/Net-Ident-1.23.tar.gz" +MD5SUM="f9a2943dc6310c1f31458c49f926b007" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Net-Ident/slack-desc b/perl/perl-Net-Ident/slack-desc new file mode 100644 index 0000000000000..5365776f7ded2 --- /dev/null +++ b/perl/perl-Net-Ident/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-Net-Ident: perl-Net-Ident (Net::Ident) +perl-Net-Ident: +perl-Net-Ident: perl-Net-Ident - lookup the username on the remote end of +perl-Net-Ident: a TCP/IP connection. +perl-Net-Ident: +perl-Net-Ident: Homepage: http://search.cpan.org/dist/Net-Ident/ +perl-Net-Ident: +perl-Net-Ident: +perl-Net-Ident: +perl-Net-Ident: +perl-Net-Ident: diff --git a/perl/perl-Net-LibIDN/README b/perl/perl-Net-LibIDN/README new file mode 100644 index 0000000000000..e495139df4970 --- /dev/null +++ b/perl/perl-Net-LibIDN/README @@ -0,0 +1,14 @@ +Net::LibIDN - Perl bindings for GNU Libidn + +Provides bindings for GNU Libidn, a C library for handling Internationalized +Domain Names according to IDNA (RFC 3490), in a way very much inspired by +Turbo Fredriksson's PHP-IDN. +There is currently no support for Perl's unicode capabilities (man +perlunicode). All input strings are assumed to be octet strings, all output +strings are generated as octet strings. Thus, if you require Perl's unicode +features, you will have to convert your strings manually. For example: + + use Encode; + use Data::Dumper; + print Dumper(Net::LibIDN::idn_to_unicode('xn--uro-j50a.com', 'utf-8')); + print Dumper(decode('utf-8', Net::LibIDN::idn_to_unicode('xn--uro-j50a.com', 'utf-8'))); diff --git a/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild b/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild new file mode 100644 index 0000000000000..38224f38f687f --- /dev/null +++ b/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-LibIDN + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-LibIDN +VERSION=${VERSION:-0.12} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-LibIDN +DOCS="Artistic Changes README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Net-LibIDN/perl-Net-LibIDN.info b/perl/perl-Net-LibIDN/perl-Net-LibIDN.info new file mode 100644 index 0000000000000..196ce2f8faa14 --- /dev/null +++ b/perl/perl-Net-LibIDN/perl-Net-LibIDN.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-LibIDN" +VERSION="0.12" +HOMEPAGE="http://search.cpan.org/~thor/Net-LibIDN/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-0.12.tar.gz" +MD5SUM="c3e4de2065009d67bcb1df0afb473e12" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-Net-LibIDN/slack-desc b/perl/perl-Net-LibIDN/slack-desc new file mode 100644 index 0000000000000..ce6a78f7c6152 --- /dev/null +++ b/perl/perl-Net-LibIDN/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-Net-LibIDN: perl-Net-LibIDN (Perl bindings for GNU Libidn) +perl-Net-LibIDN: +perl-Net-LibIDN: Provides bindings for GNU Libidn, a C library for handling +perl-Net-LibIDN: Internationalized Domain Names according to IDNA (RFC 3490), in a way +perl-Net-LibIDN: very much inspired by Turbo Fredriksson's PHP-IDN. +perl-Net-LibIDN: +perl-Net-LibIDN: +perl-Net-LibIDN: +perl-Net-LibIDN: +perl-Net-LibIDN: +perl-Net-LibIDN: diff --git a/perl/perl-Net-Libdnet/README b/perl/perl-Net-Libdnet/README new file mode 100644 index 0000000000000..5cf63913cbca9 --- /dev/null +++ b/perl/perl-Net-Libdnet/README @@ -0,0 +1,10 @@ +Net::Libdnet - binding for Dug Song's libdnet + +Net::Libdnet provides a simplified, portable interface to several low-level +networking routines, including network address manipulation, kernel arp cache +and route table lookup and manipulation, network firewalling, network +interface lookup and manipulation, network traffic interception via tunnel +interfaces, and raw IP packet and Ethernet frame transmission. It is intended +to complement the functionality provided by libpcap. + +This package requires perl-Class-Gomor and libdnet, from SlackBuilds.org diff --git a/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild b/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild new file mode 100644 index 0000000000000..6a686cc6669c4 --- /dev/null +++ b/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Libdnet + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-Libdnet +VERSION=${VERSION:-0.92} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-Libdnet +DOCS="LICENSE README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Net-Libdnet/perl-Net-Libdnet.info b/perl/perl-Net-Libdnet/perl-Net-Libdnet.info new file mode 100644 index 0000000000000..b848a907f2f37 --- /dev/null +++ b/perl/perl-Net-Libdnet/perl-Net-Libdnet.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Libdnet" +VERSION="0.92" +HOMEPAGE="http://search.cpan.org/dist/Net-Libdnet/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Libdnet-0.92.tar.gz" +MD5SUM="3ae5ac04867b615ee20ec9ee281a31fd" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Net-Libdnet/slack-desc b/perl/perl-Net-Libdnet/slack-desc new file mode 100644 index 0000000000000..93253bc49d768 --- /dev/null +++ b/perl/perl-Net-Libdnet/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-Net-Libdnet: perl-Net-Libdnet (binding for Dug Song's libdnet) +perl-Net-Libdnet: +perl-Net-Libdnet: Net::Libdnet provides a simplified, portable interface to several +perl-Net-Libdnet: low-level networking routines, including network address manipulation, +perl-Net-Libdnet: kernel arp cache and route table lookup and manipulation, network +perl-Net-Libdnet: firewalling, network interface lookup and manipulation, network traffic +perl-Net-Libdnet: interception via tunnel interfaces, and raw IP packet and Ethernet +perl-Net-Libdnet: frame transmission. It is intended to complement the functionality +perl-Net-Libdnet: provided by libpcap. +perl-Net-Libdnet: +perl-Net-Libdnet: diff --git a/perl/perl-Net-Packet/README b/perl/perl-Net-Packet/README new file mode 100644 index 0000000000000..b0be1ff930cda --- /dev/null +++ b/perl/perl-Net-Packet/README @@ -0,0 +1,16 @@ +Net::Packet - a framework to easily send and receive frames from layer 2 to +layer 7 + +This module is a unified framework to craft, send and receive packets at +layers 2, 3, 4 and 7. +Basically, you forge each layer of a frame (Net::Packet::IPv4 for layer 3, +Net::Packet::TCP for layer 4; for example), and pack all of this into a +Net::Packet::Frame object. Then, you can send the frame to the network, and +receive its response easily, because the response is automatically searched +for and matched against the request (not implemented for all layers). + +This package requires: perl-Bit-Vector, perl-Class-Gomor, perl-Net-IPv4Addr, +perl-Net-IPv6Addr, perl-Net-Libdnet, perl-Net-Pcap, perl-Net-Write and +perl-Socket6. All of them are avalaible from SlackBuilds.org. + +This is not the same module as perl-NetPacket! diff --git a/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild b/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild new file mode 100644 index 0000000000000..d5f50269262c9 --- /dev/null +++ b/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Packet + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-Packet +VERSION=${VERSION:-3.27} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-Packet +DOCS="LICENSE LICENSE.Artistic README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Net-Packet/perl-Net-Packet.info b/perl/perl-Net-Packet/perl-Net-Packet.info new file mode 100644 index 0000000000000..841bb000e1f69 --- /dev/null +++ b/perl/perl-Net-Packet/perl-Net-Packet.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Packet" +VERSION="3.27" +HOMEPAGE="http://search.cpan.org/dist/Net-Packet/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Packet-3.27.tar.gz" +MD5SUM="1f1d0b19b043d47dd30d21d5cf02e1e7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Net-Packet/slack-desc b/perl/perl-Net-Packet/slack-desc new file mode 100644 index 0000000000000..cec80dc6129de --- /dev/null +++ b/perl/perl-Net-Packet/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-Net-Packet: perl-Net-Packet (a network framework) +perl-Net-Packet: +perl-Net-Packet: This module is a unified framework to craft, send and receive packets +perl-Net-Packet: at layers 2, 3, 4 and 7. +perl-Net-Packet: +perl-Net-Packet: +perl-Net-Packet: +perl-Net-Packet: +perl-Net-Packet: +perl-Net-Packet: +perl-Net-Packet: diff --git a/perl/perl-Net-Pcap/README b/perl/perl-Net-Pcap/README new file mode 100644 index 0000000000000..63152333b45fd --- /dev/null +++ b/perl/perl-Net-Pcap/README @@ -0,0 +1,7 @@ +Net::Pcap is a Perl binding to the LBL pcap(3) library. The README for libpcap +describes itself as "a system-independent interface for user-level packet +capture. libpcap provides a portable framework for low-level network +monitoring. Applications include network statistics collection, security +monitoring, network debugging, etc." + +This requires perl-IO-Interface. diff --git a/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild b/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild new file mode 100644 index 0000000000000..d61a1b90610f2 --- /dev/null +++ b/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Pcap + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-Pcap +VERSION=${VERSION:-0.14} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-Pcap +DOCS="README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +# some of the tests are broken, since they expect an oldier libpcap +#make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Net-Pcap/perl-Net-Pcap.info b/perl/perl-Net-Pcap/perl-Net-Pcap.info new file mode 100644 index 0000000000000..01e36b594acf1 --- /dev/null +++ b/perl/perl-Net-Pcap/perl-Net-Pcap.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Pcap" +VERSION="0.14" +HOMEPAGE="http://search.cpan.org/dist/Net-Pcap/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-Pcap-0.14.tar.gz" +MD5SUM="80a4b62911cded1a011b897f735d445e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-Net-Pcap/slack-desc b/perl/perl-Net-Pcap/slack-desc new file mode 100644 index 0000000000000..fa462100a9551 --- /dev/null +++ b/perl/perl-Net-Pcap/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-Net-Pcap: perl-Net-Pcap (Interface to pcap(3) LBL packet capture library) +perl-Net-Pcap: +perl-Net-Pcap: The Net::Pcap module is a Perl binding to the LBL pcap(3) packet +perl-Net-Pcap: capture library. +perl-Net-Pcap: +perl-Net-Pcap: +perl-Net-Pcap: +perl-Net-Pcap: +perl-Net-Pcap: +perl-Net-Pcap: +perl-Net-Pcap: diff --git a/perl/perl-Net-RawIP/README b/perl/perl-Net-RawIP/README new file mode 100644 index 0000000000000..b08ecae90052c --- /dev/null +++ b/perl/perl-Net-RawIP/README @@ -0,0 +1,10 @@ +Net::RawIP - Perl extension to manipulate raw IP packets with interface to +libpcap. + +This package provides a class which can be used for creating, manipulating and +sending raw IP packets with optional features for manipulating Ethernet +headers. +As its name implies, this module is quite low-level, and currently duplicates +some features with Net::Pcap. If you prefer a higher-level module (in terms of +Perl support), please take a look at Net::Write, which provides a portable +interface to construct and send raw packets on the network. diff --git a/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild b/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild new file mode 100644 index 0000000000000..75b853285947c --- /dev/null +++ b/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-RawIP + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-RawIP +VERSION=${VERSION:-0.25} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-RawIP +DOCS="README README.Devel" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Net-RawIP/perl-Net-RawIP.info b/perl/perl-Net-RawIP/perl-Net-RawIP.info new file mode 100644 index 0000000000000..5e37b177228fc --- /dev/null +++ b/perl/perl-Net-RawIP/perl-Net-RawIP.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-RawIP" +VERSION="0.25" +HOMEPAGE="http://search.cpan.org/dist/Net-RawIP/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-RawIP-0.25.tar.gz" +MD5SUM="a99f461e20e7894154f64729a4652448" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-Net-RawIP/slack-desc b/perl/perl-Net-RawIP/slack-desc new file mode 100644 index 0000000000000..82ed1f0cf75b7 --- /dev/null +++ b/perl/perl-Net-RawIP/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-Net-RawIP: perl-Net-RawIP (manipulate raw IP packets) +perl-Net-RawIP: +perl-Net-RawIP: This package provides a class which can be used for creating, +perl-Net-RawIP: manipulating and sending raw IP packets with optional features for +perl-Net-RawIP: manipulating Ethernet headers. +perl-Net-RawIP: +perl-Net-RawIP: +perl-Net-RawIP: +perl-Net-RawIP: +perl-Net-RawIP: +perl-Net-RawIP: diff --git a/perl/perl-Net-Server/README b/perl/perl-Net-Server/README new file mode 100644 index 0000000000000..222873aea34c8 --- /dev/null +++ b/perl/perl-Net-Server/README @@ -0,0 +1,3 @@ +perl-Net-Server is an extensible, general Perl server engine. + +perl-Net-Server requires perl-IO package. diff --git a/perl/perl-Net-Server/perl-Net-Server.SlackBuild b/perl/perl-Net-Server/perl-Net-Server.SlackBuild new file mode 100644 index 0000000000000..1368945cdca80 --- /dev/null +++ b/perl/perl-Net-Server/perl-Net-Server.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Net::Server +# Home Page http://search.cpan.org/dist/Net-Server/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Net-Server +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.99} +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} + +set -e + +DOCS="Changes README" + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Compress man pages +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 + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +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-Net-Server/perl-Net-Server.info b/perl/perl-Net-Server/perl-Net-Server.info new file mode 100644 index 0000000000000..fc3818fb8a9ef --- /dev/null +++ b/perl/perl-Net-Server/perl-Net-Server.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Server" +VERSION="0.99" +HOMEPAGE="http://search.cpan.org/dist/Net-Server/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Net-Server-0.99.tar.gz" +MD5SUM="1ae03dff8b1009216a2e5d8f4c9a47b1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Net-Server/slack-desc b/perl/perl-Net-Server/slack-desc new file mode 100644 index 0000000000000..1f7120322adc3 --- /dev/null +++ b/perl/perl-Net-Server/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-Net-Server: perl-Net-Server (Net::Server) +perl-Net-Server: +perl-Net-Server: perl-Net-Server - Extensible, general Perl server engine. +perl-Net-Server: +perl-Net-Server: Homepage: http://search.cpan.org/dist/Net-Server/ +perl-Net-Server: +perl-Net-Server: +perl-Net-Server: +perl-Net-Server: +perl-Net-Server: +perl-Net-Server: diff --git a/perl/perl-Net-Telnet/README b/perl/perl-Net-Telnet/README new file mode 100644 index 0000000000000..890da5b2f96b4 --- /dev/null +++ b/perl/perl-Net-Telnet/README @@ -0,0 +1,9 @@ +Net::Telnet - interact with TELNET port or other TCP ports + +Net::Telnet allows you to make client connections to a TCP port and do network +I/O, especially to a port using the TELNET protocol. Simple I/O methods such +as print, get, and getline are provided. More sophisticated interactive +features are provided because connecting to a TELNET port ultimately means +communicating with a program designed for human interaction. These interactive +features include the ability to specify a time-out and to wait for patterns to +appear in the input stream, such as the prompt from a shell. diff --git a/perl/perl-Net-Telnet/perl-Net-Telnet.SlackBuild b/perl/perl-Net-Telnet/perl-Net-Telnet.SlackBuild new file mode 100644 index 0000000000000..c7d7024f54d97 --- /dev/null +++ b/perl/perl-Net-Telnet/perl-Net-Telnet.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Telnet + +# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> +# 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-Net-Telnet +VERSION=${VERSION:-3.03} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-Telnet +DOCS="ChangeLog README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Net-Telnet/perl-Net-Telnet.info b/perl/perl-Net-Telnet/perl-Net-Telnet.info new file mode 100644 index 0000000000000..8094da4acf8aa --- /dev/null +++ b/perl/perl-Net-Telnet/perl-Net-Telnet.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Telnet" +VERSION="3.03" +HOMEPAGE="http://search.cpan.org/dist/Net-Telnet/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-3.03.tar.gz" +MD5SUM="2f7d34b09d6117baefe89d44cff9d5fc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="dsomero" diff --git a/perl/perl-Net-Telnet/slack-desc b/perl/perl-Net-Telnet/slack-desc new file mode 100644 index 0000000000000..dd7b8eefe8f5f --- /dev/null +++ b/perl/perl-Net-Telnet/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-Net-Telnet: perl-Net-Telnet (interact with TELNET port or other TCP ports) +perl-Net-Telnet: +perl-Net-Telnet: Net::Telnet allows you to make client connections to a TCP port and do +perl-Net-Telnet: network I/O, especially to a port using the TELNET protocol. Simple +perl-Net-Telnet: I/O methods such as print, get, and getline are provided. More +perl-Net-Telnet: sophisticated interactive features are provided because connecting to +perl-Net-Telnet: a TELNET port ultimately means communicating with a program designed +perl-Net-Telnet: for human interaction. These interactive features include the ability +perl-Net-Telnet: to specify a time-out and to wait for patterns to appear in the input +perl-Net-Telnet: stream, such as the prompt from a shell. +perl-Net-Telnet: diff --git a/perl/perl-Net-UPnP/README b/perl/perl-Net-UPnP/README new file mode 100644 index 0000000000000..dd5c5e36f50b2 --- /dev/null +++ b/perl/perl-Net-UPnP/README @@ -0,0 +1,3 @@ +Perl extension for UPnP. + +perl-Net-UPnP is required for perl bindings for MythTV > 0.24. diff --git a/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild b/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild new file mode 100644 index 0000000000000..6f650e4aedc85 --- /dev/null +++ b/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Net-UPnP +# Home Page http://search.cpan.org/dist/Net-UPnP/ + +# Copyright (c) 2010, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ net> +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. + +SRCNAM=Net-UPnP +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.4.2} +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} + +set -e + +DOCS="Changes README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +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/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 + +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-Net-UPnP/perl-Net-UPnP.info b/perl/perl-Net-UPnP/perl-Net-UPnP.info new file mode 100644 index 0000000000000..3694909de2750 --- /dev/null +++ b/perl/perl-Net-UPnP/perl-Net-UPnP.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-UPnP" +VERSION="1.4.2" +HOMEPAGE="http://search.cpan.org/dist/Net-UPnP/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SK/SKONNO/Net-UPnP-1.4.2.tar.gz" +MD5SUM="bc009fd76b565df40a70aca49af82a7d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-Net-UPnP/slack-desc b/perl/perl-Net-UPnP/slack-desc new file mode 100644 index 0000000000000..4b464bd0a4212 --- /dev/null +++ b/perl/perl-Net-UPnP/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-Net-UPnP: perl-Net-UPnP (Net-UPnP) +perl-Net-UPnP: +perl-Net-UPnP: Perl extension for UPnP. +perl-Net-UPnP: +perl-Net-UPnP: +perl-Net-UPnP: +perl-Net-UPnP: +perl-Net-UPnP: +perl-Net-UPnP: Homepage: http://search.cpan.org/dist/Net-UPnP/ +perl-Net-UPnP: +perl-Net-UPnP: diff --git a/perl/perl-Net-Write/README b/perl/perl-Net-Write/README new file mode 100644 index 0000000000000..13836ed23a2b5 --- /dev/null +++ b/perl/perl-Net-Write/README @@ -0,0 +1,12 @@ +Net::Write - a portable interface to open and send raw data to network + +Net::Write provides a portable interface to open a network interface, and be +able to write raw data directly to the network. It juste provides three +methods when a Net::Write object has been created for an interface: open, +send, close. +It is possible to open a network interface to send frames at layer 2 (you +craft a frame from link layer), or at layer 3 (you craft a frame from network +layer), or at layer 4 (you craft a frame from transport layer). + +This package requires perl-Class-Gomor, perl-Net-Pcap and perl-Socket6 from +SlackBuilds.org diff --git a/perl/perl-Net-Write/perl-Net-Write.SlackBuild b/perl/perl-Net-Write/perl-Net-Write.SlackBuild new file mode 100644 index 0000000000000..a55a86de2cfbf --- /dev/null +++ b/perl/perl-Net-Write/perl-Net-Write.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Write + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-Write +VERSION=${VERSION:-1.05} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-Write +DOCS="LICENSE LICENSE.Artistic README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Net-Write/perl-Net-Write.info b/perl/perl-Net-Write/perl-Net-Write.info new file mode 100644 index 0000000000000..532d6fb5b7c7e --- /dev/null +++ b/perl/perl-Net-Write/perl-Net-Write.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Write" +VERSION="1.05" +HOMEPAGE="http://search.cpan.org/dist/Net-Write/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Write-1.05.tar.gz" +MD5SUM="833365d8474fd71a55c1190217613e73" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Net-Write/slack-desc b/perl/perl-Net-Write/slack-desc new file mode 100644 index 0000000000000..865aebcfa24d3 --- /dev/null +++ b/perl/perl-Net-Write/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-Net-Write: perl-Net-Write (portable interface to open and send raw data to network) +perl-Net-Write: +perl-Net-Write: Net::Write provides a portable interface to open a network interface, +perl-Net-Write: and be able to write raw data directly to the network. It juste +perl-Net-Write: provides three methods when a Net::Write object has been created for an +perl-Net-Write: interface: open, send, close. +perl-Net-Write: +perl-Net-Write: +perl-Net-Write: +perl-Net-Write: +perl-Net-Write: diff --git a/perl/perl-NetAddr-IP/README b/perl/perl-NetAddr-IP/README new file mode 100644 index 0000000000000..97c51c55ca44a --- /dev/null +++ b/perl/perl-NetAddr-IP/README @@ -0,0 +1,2 @@ +perl-NetAddr-IP provides perl modules to manage IPv4 and IPv6 addresses +and subnets. diff --git a/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild new file mode 100644 index 0000000000000..7708bb7b16a5c --- /dev/null +++ b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: NetAddr::IP +# Home Page http://search.cpan.org/dist/NetAddr-IP/ + +# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ net> +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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-NetAddr-IP +VERSION=${VERSION:-4.038} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=NetAddr-IP + +# 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} + +set -e + +DOCS="Changes README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG ; remove empty directories +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +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-NetAddr-IP/perl-NetAddr-IP.info b/perl/perl-NetAddr-IP/perl-NetAddr-IP.info new file mode 100644 index 0000000000000..9c55db4f6e2ac --- /dev/null +++ b/perl/perl-NetAddr-IP/perl-NetAddr-IP.info @@ -0,0 +1,10 @@ +PRGNAM="perl-NetAddr-IP" +VERSION="4.038" +HOMEPAGE="http://search.cpan.org/dist/NetAddr-IP/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-4.038.tar.gz" +MD5SUM="04458809b25012a687f845f0eb860de7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-NetAddr-IP/slack-desc b/perl/perl-NetAddr-IP/slack-desc new file mode 100644 index 0000000000000..3675697ea7440 --- /dev/null +++ b/perl/perl-NetAddr-IP/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-NetAddr-IP: perl-NetAddr-IP (NetAddr::IP) +perl-NetAddr-IP: +perl-NetAddr-IP: perl-NetAddr-IP provides perl modules to manage IPv4 +perl-NetAddr-IP: and IPv6 addresses and subnets +perl-NetAddr-IP: +perl-NetAddr-IP: Homepage: http://search.cpan.org/dist/NetAddr-IP/ +perl-NetAddr-IP: +perl-NetAddr-IP: +perl-NetAddr-IP: +perl-NetAddr-IP: +perl-NetAddr-IP: diff --git a/perl/perl-NetPacket/README b/perl/perl-NetPacket/README new file mode 100644 index 0000000000000..a8d787778d513 --- /dev/null +++ b/perl/perl-NetPacket/README @@ -0,0 +1,15 @@ +NetPacket - modules to assemble/disassemble network packets at the protocol +level. + +NetPacket provides a base class for a cluster of modules related to decoding +and encoding of network protocols. Each NetPacket descendent module knows how +to encode and decode packets for the network protocol it implements. Consult +the documentation for the module in question for protocol-specific +implementation. +Note that there is no inheritance in the NetPacket:: cluster of modules other +than each protocol module being a NetPacket. This was seen to be too +restrictive as imposing inheritance relationships (for example between the IP, +UDP and TCP protocols) would make things like tunneling or other unusual +situations difficult. + +This is not the same module as perl-Net-Packet! diff --git a/perl/perl-NetPacket/perl-NetPacket.SlackBuild b/perl/perl-NetPacket/perl-NetPacket.SlackBuild new file mode 100644 index 0000000000000..2e9e0909019dd --- /dev/null +++ b/perl/perl-NetPacket/perl-NetPacket.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-NetPacket + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-NetPacket +VERSION=${VERSION:-0.41.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=NetPacket +DOCS="README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-NetPacket/perl-NetPacket.info b/perl/perl-NetPacket/perl-NetPacket.info new file mode 100644 index 0000000000000..66bf8c5628148 --- /dev/null +++ b/perl/perl-NetPacket/perl-NetPacket.info @@ -0,0 +1,10 @@ +PRGNAM="perl-NetPacket" +VERSION="0.41.1" +HOMEPAGE="http://search.cpan.org/dist/NetPacket/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/NetPacket-0.41.1.tar.gz" +MD5SUM="77c1482927c6892b9571404485ffe591" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-NetPacket/slack-desc b/perl/perl-NetPacket/slack-desc new file mode 100644 index 0000000000000..3a3b5f21c983f --- /dev/null +++ b/perl/perl-NetPacket/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-NetPacket: perl-NetPacket (modules to assemble/disassemble network packets) +perl-NetPacket: +perl-NetPacket: NetPacket provides a base class for a cluster of modules related to +perl-NetPacket: decoding and encoding of network protocols. Each NetPacket descendent +perl-NetPacket: module knows how to encode and decode packets for the network protocol +perl-NetPacket: it implements. +perl-NetPacket: +perl-NetPacket: +perl-NetPacket: +perl-NetPacket: +perl-NetPacket: diff --git a/perl/perl-Ogg-Vorbis-Header-PurePerl/README b/perl/perl-Ogg-Vorbis-Header-PurePerl/README new file mode 100644 index 0000000000000..be9b2971133d9 --- /dev/null +++ b/perl/perl-Ogg-Vorbis-Header-PurePerl/README @@ -0,0 +1,3 @@ +An object-oriented interface to Ogg Vorbis information and comment +fields, implemented entirely in Perl. Intended to be a drop in +replacement for Ogg::Vorbis::Header. diff --git a/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild new file mode 100644 index 0000000000000..bd2cbb32fef75 --- /dev/null +++ b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh + +# Slackware build script for perl-Ogg-Vorbis-Header-PurePerl + +# Written by Mark Grocock <mark@grocock.me.uk> + +SRCNAM=Ogg-Vorbis-Header-PurePerl +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes LICENSE.GPL 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-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.info b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.info new file mode 100644 index 0000000000000..e552fdce30a94 --- /dev/null +++ b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Ogg-Vorbis-Header-PurePerl" +VERSION="1.0" +HOMEPAGE="http://search.cpan.org/~daniel/Ogg-Vorbis-Header-PurePerl-1.0/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Ogg-Vorbis-Header-PurePerl-1.0.tar.gz" +MD5SUM="1b09cefefd4a83bd4a53d2fddbd0bc68" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mark Grocock" +EMAIL="mark@grocock.me.uk" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-Ogg-Vorbis-Header-PurePerl/slack-desc b/perl/perl-Ogg-Vorbis-Header-PurePerl/slack-desc new file mode 100644 index 0000000000000..a0b5a48a34c0a --- /dev/null +++ b/perl/perl-Ogg-Vorbis-Header-PurePerl/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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +perl-Ogg-Vorbis-Header-PurePerl: perl-Ogg-Vorbis-Header-PurePerl (interface to Ogg Vorbis information) +perl-Ogg-Vorbis-Header-PurePerl: +perl-Ogg-Vorbis-Header-PurePerl: An object-oriented interface to Ogg Vorbis information and comment +perl-Ogg-Vorbis-Header-PurePerl: fields, implemented entirely in Perl. Intended to be a drop in +perl-Ogg-Vorbis-Header-PurePerl: replacement for Ogg::Vorbis::Header. +perl-Ogg-Vorbis-Header-PurePerl: +perl-Ogg-Vorbis-Header-PurePerl: http://search.cpan.org/~daniel/Ogg-Vorbis-Header-PurePerl-1.0/ +perl-Ogg-Vorbis-Header-PurePerl: +perl-Ogg-Vorbis-Header-PurePerl: +perl-Ogg-Vorbis-Header-PurePerl: +perl-Ogg-Vorbis-Header-PurePerl: diff --git a/perl/perl-OpenGL-Image/README b/perl/perl-OpenGL-Image/README new file mode 100644 index 0000000000000..c1c5632a8aa6e --- /dev/null +++ b/perl/perl-OpenGL-Image/README @@ -0,0 +1,6 @@ +perl-OpenGL-Image (A wrapper to abstract imaging interfaces) + +OpenGL::Image provides methods to load/modify/save images for use +with OpenGL textures, FBOs and VBOs. + +This requires perl-OpenGL.
\ No newline at end of file diff --git a/perl/perl-OpenGL-Image/perl-OpenGL-Image.SlackBuild b/perl/perl-OpenGL-Image/perl-OpenGL-Image.SlackBuild new file mode 100644 index 0000000000000..ef2f72908f795 --- /dev/null +++ b/perl/perl-OpenGL-Image/perl-OpenGL-Image.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Slackware build script for OpenGL-Image +# Written by Joey Trungale <joey@trungale.net> + +SRCNAM=OpenGL-Image +PRGNAM=perl-OpenGL-Image +VERSION=${VERSION:-1.03} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +make +#make test +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 + +# Compress man pages +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 + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes INSTALL 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-OpenGL-Image/perl-OpenGL-Image.info b/perl/perl-OpenGL-Image/perl-OpenGL-Image.info new file mode 100644 index 0000000000000..51bd5ca4c0533 --- /dev/null +++ b/perl/perl-OpenGL-Image/perl-OpenGL-Image.info @@ -0,0 +1,10 @@ +PRGNAM="perl-OpenGL-Image" +VERSION="1.03" +HOMEPAGE="http://graphcomp.com/pogl.cgi" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BF/BFREE/OpenGL-Image-1.03.tar.gz" +MD5SUM="c68c25103fd19c752e5e9c97f0aecac0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="dsomero" diff --git a/perl/perl-OpenGL-Image/slack-desc b/perl/perl-OpenGL-Image/slack-desc new file mode 100644 index 0000000000000..633b0e7dfacfd --- /dev/null +++ b/perl/perl-OpenGL-Image/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-OpenGL-Image: perl-OpenGL-Image (A wrapper to abstract imaging interfaces) +perl-OpenGL-Image: +perl-OpenGL-Image: OpenGL::Image provides methods to load/modify/save images for use +perl-OpenGL-Image: with OpenGL textures, FBOs and VBOs. +perl-OpenGL-Image: +perl-OpenGL-Image: http://graphcomp.com/pogl.cgi +perl-OpenGL-Image: +perl-OpenGL-Image: +perl-OpenGL-Image: +perl-OpenGL-Image: +perl-OpenGL-Image: diff --git a/perl/perl-OpenGL-Shader/README b/perl/perl-OpenGL-Shader/README new file mode 100644 index 0000000000000..83c4279955e9e --- /dev/null +++ b/perl/perl-OpenGL-Shader/README @@ -0,0 +1,6 @@ +perl-OpenGL-Shader (An extensible abstraction for OpenGL shaders) + +OpenGL-Shader is a perl module that provides an extensible abstraction +for managing OpenGL shaders. + +This requires perl-OpenGL. diff --git a/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.SlackBuild b/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.SlackBuild new file mode 100644 index 0000000000000..b4164de3c688d --- /dev/null +++ b/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Slackware build script for OpenGL-Shader +# Written by Joey Trungale <joey@trungale.net> + +SRCNAM=OpenGL-Shader +PRGNAM=perl-OpenGL-Shader +VERSION=${VERSION:-1.01} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +make +#make test +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 + +# Compress man pages +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 + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes INSTALL 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-OpenGL-Shader/perl-OpenGL-Shader.info b/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.info new file mode 100644 index 0000000000000..aa6fda12cd491 --- /dev/null +++ b/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.info @@ -0,0 +1,10 @@ +PRGNAM="perl-OpenGL-Shader" +VERSION="1.01" +HOMEPAGE="http://graphcomp.com/pogl.cgi" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BF/BFREE/OpenGL-Shader-1.01.tar.gz" +MD5SUM="7f76a8e20968472bde0f9cba94a61681" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="dsomero" diff --git a/perl/perl-OpenGL-Shader/slack-desc b/perl/perl-OpenGL-Shader/slack-desc new file mode 100644 index 0000000000000..ff884bfa2459e --- /dev/null +++ b/perl/perl-OpenGL-Shader/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-OpenGL-Shader: perl-OpenGL-Shader (An extensible abstraction for OpenGL shaders) +perl-OpenGL-Shader: +perl-OpenGL-Shader: OpenGL-Shader is a perl module that provides an extensible abstraction +perl-OpenGL-Shader: for managing OpenGL shaders. +perl-OpenGL-Shader: +perl-OpenGL-Shader: http://graphcomp.com/pogl.cgi +perl-OpenGL-Shader: +perl-OpenGL-Shader: +perl-OpenGL-Shader: +perl-OpenGL-Shader: +perl-OpenGL-Shader: diff --git a/perl/perl-OpenGL/README b/perl/perl-OpenGL/README new file mode 100644 index 0000000000000..0c6a329b83f55 --- /dev/null +++ b/perl/perl-OpenGL/README @@ -0,0 +1,7 @@ +perl-OpenGL (A portable perl binding for OpenGL) + +Perl OpenGL (POGL) is a portable, compiled wrapper library that allows +OpenGL to be used in the Perl programming language. + +This requires freeglut and an operational OpenGL installation. +Freeglut and most popular OpenGL capable drivers are available on SBo. diff --git a/perl/perl-OpenGL/perl-OpenGL.SlackBuild b/perl/perl-OpenGL/perl-OpenGL.SlackBuild new file mode 100644 index 0000000000000..b1fd264bd0804 --- /dev/null +++ b/perl/perl-OpenGL/perl-OpenGL.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Slackware build script for OpenGL +# Written by Joey Trungale <joey@trungale.net> + +SRCNAM=OpenGL +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.63} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +make +#make test +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 + +# Compress man pages +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 + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +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-OpenGL/perl-OpenGL.info b/perl/perl-OpenGL/perl-OpenGL.info new file mode 100644 index 0000000000000..2fed559eae8a9 --- /dev/null +++ b/perl/perl-OpenGL/perl-OpenGL.info @@ -0,0 +1,10 @@ +PRGNAM="perl-OpenGL" +VERSION="0.63" +HOMEPAGE="http://graphcomp.com/pogl.cgi" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.63.tar.gz" +MD5SUM="8b18413af9a6184d01b2547781e0d027" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="dsomero" diff --git a/perl/perl-OpenGL/slack-desc b/perl/perl-OpenGL/slack-desc new file mode 100644 index 0000000000000..50bc44ee2d5e9 --- /dev/null +++ b/perl/perl-OpenGL/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-OpenGL: perl-OpenGL (A portable perl binding for OpenGL) +perl-OpenGL: +perl-OpenGL: Perl OpenGL (POGL) is a portable, compiled wrapper library that allows +perl-OpenGL: OpenGL to be used in the Perl programming language. +perl-OpenGL: +perl-OpenGL: http://graphcomp.com/pogl.cgi +perl-OpenGL: +perl-OpenGL: +perl-OpenGL: +perl-OpenGL: +perl-OpenGL: diff --git a/perl/perl-PHP-Serialization/README b/perl/perl-PHP-Serialization/README new file mode 100644 index 0000000000000..4c72b3e6e05a1 --- /dev/null +++ b/perl/perl-PHP-Serialization/README @@ -0,0 +1,5 @@ +perl-PHP-Serialization (convert PHP's serialize() to perl structures) + +Provides a simple, quick means of serializing perl memory +structures (including object data) into a format that PHP can +deserialize() and access, and vice versa. diff --git a/perl/perl-PHP-Serialization/perl-PHP-Serialization.SlackBuild b/perl/perl-PHP-Serialization/perl-PHP-Serialization.SlackBuild new file mode 100644 index 0000000000000..e2daff0b89e5b --- /dev/null +++ b/perl/perl-PHP-Serialization/perl-PHP-Serialization.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for perl-PHP-Serialization +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=PHP-Serialization +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.34} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README Changes \ + $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-PHP-Serialization/perl-PHP-Serialization.info b/perl/perl-PHP-Serialization/perl-PHP-Serialization.info new file mode 100644 index 0000000000000..3f15c75d6342d --- /dev/null +++ b/perl/perl-PHP-Serialization/perl-PHP-Serialization.info @@ -0,0 +1,10 @@ +PRGNAM="perl-PHP-Serialization" +VERSION="0.34" +HOMEPAGE="http://search.cpan.org/~bobtfish/PHP-Serialization-0.34/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/PHP-Serialization-0.34.tar.gz" +MD5SUM="333af0848ad79931875a35cc61dc22e0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-PHP-Serialization/slack-desc b/perl/perl-PHP-Serialization/slack-desc new file mode 100644 index 0000000000000..79739206576af --- /dev/null +++ b/perl/perl-PHP-Serialization/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-PHP-Serialization: perl-PHP-Serialization (convert PHP's serialize() to perl structures) +perl-PHP-Serialization: +perl-PHP-Serialization: Provides a simple, quick means of serializing perl memory +perl-PHP-Serialization: structures (including object data) into a format that PHP can +perl-PHP-Serialization: deserialize() and access, and vice versa. +perl-PHP-Serialization: +perl-PHP-Serialization: +perl-PHP-Serialization: +perl-PHP-Serialization: +perl-PHP-Serialization: +perl-PHP-Serialization: diff --git a/perl/perl-Params-Validate/README b/perl/perl-Params-Validate/README new file mode 100644 index 0000000000000..b9ff65b407e03 --- /dev/null +++ b/perl/perl-Params-Validate/README @@ -0,0 +1 @@ +Params::Validate - Validate method/function parameters diff --git a/perl/perl-Params-Validate/perl-Params-Validate.SlackBuild b/perl/perl-Params-Validate/perl-Params-Validate.SlackBuild new file mode 100644 index 0000000000000..793b00903e337 --- /dev/null +++ b/perl/perl-Params-Validate/perl-Params-Validate.SlackBuild @@ -0,0 +1,107 @@ +#!/bin/sh + +# Slackware build script for perl-Params-Validate + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=Params-Validate +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.95} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Build.PL \ + prefix=/usr \ + installdirs=vendor \ + --install_path bindoc=/usr/man/man1 \ + --install_path libdoc=/usr/man/man3 \ + destdir=$PKG +./Build +./Build test +./Build install + +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README TODO \ + $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-Params-Validate/perl-Params-Validate.info b/perl/perl-Params-Validate/perl-Params-Validate.info new file mode 100644 index 0000000000000..696431847796a --- /dev/null +++ b/perl/perl-Params-Validate/perl-Params-Validate.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Params-Validate" +VERSION="0.95" +HOMEPAGE="http://search.cpan.org/dist/Params-Validate/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-Validate-0.95.tar.gz" +MD5SUM="f544f12357ae4ba44044cd8cb2b83a9f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Params-Validate/slack-desc b/perl/perl-Params-Validate/slack-desc new file mode 100644 index 0000000000000..966d45237175a --- /dev/null +++ b/perl/perl-Params-Validate/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-Params-Validate: perl-Params-Validate (Validate method/function parameters) +perl-Params-Validate: +perl-Params-Validate: Params::Validate - Validate method/function parameters +perl-Params-Validate: +perl-Params-Validate: +perl-Params-Validate: +perl-Params-Validate: +perl-Params-Validate: +perl-Params-Validate: +perl-Params-Validate: +perl-Params-Validate: diff --git a/perl/perl-Parse-RecDescent/README b/perl/perl-Parse-RecDescent/README new file mode 100644 index 0000000000000..e1f100b2ed918 --- /dev/null +++ b/perl/perl-Parse-RecDescent/README @@ -0,0 +1,4 @@ +Parse::RecDescent - generate recursive-descent parsers + +RecDescent incrementally generates top-down recursive-descent text +parsers from simple yacc-like grammar specifications. diff --git a/perl/perl-Parse-RecDescent/perl-Parse-RecDescent.SlackBuild b/perl/perl-Parse-RecDescent/perl-Parse-RecDescent.SlackBuild new file mode 100644 index 0000000000000..9f6df7d76e07a --- /dev/null +++ b/perl/perl-Parse-RecDescent/perl-Parse-RecDescent.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for perl-Parse-RecDescent + +# Copyright 2009-2010 David Somero (dsomero@hotmail.com) Athens,TN USA +# 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-Parse-RecDescent +VERSION=${VERSION:-1.963} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Parse-RecDescent + +# 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} + +DOCS="Changes README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=vendor +make +make test +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr/ + +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f + find . -depth -type d -empty -delete +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Parse-RecDescent/perl-Parse-RecDescent.info b/perl/perl-Parse-RecDescent/perl-Parse-RecDescent.info new file mode 100644 index 0000000000000..50dd3764cca3a --- /dev/null +++ b/perl/perl-Parse-RecDescent/perl-Parse-RecDescent.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Parse-RecDescent" +VERSION="1.963" +HOMEPAGE="http://search.cpan.org/dist/Parse-RecDescent" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Parse-RecDescent-1.963.tar.gz" +MD5SUM="b9ff7942e8f576697e08662932acdec0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Parse-RecDescent/slack-desc b/perl/perl-Parse-RecDescent/slack-desc new file mode 100644 index 0000000000000..6f7228cc0f1ab --- /dev/null +++ b/perl/perl-Parse-RecDescent/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-Parse-RecDescent: perl-Parse-RecDescent (generate recursive-descent parsers) +perl-Parse-RecDescent: +perl-Parse-RecDescent: RecDescent incrementally generates top-down recursive-descent text +perl-Parse-RecDescent: parsers from simple yacc-like grammar specifications. +perl-Parse-RecDescent: +perl-Parse-RecDescent: Homepage: http://search.cpan.org/~dconway/Parse-RecDescent +perl-Parse-RecDescent: +perl-Parse-RecDescent: +perl-Parse-RecDescent: +perl-Parse-RecDescent: +perl-Parse-RecDescent: diff --git a/perl/perl-Pod-Coverage/README b/perl/perl-Pod-Coverage/README new file mode 100644 index 0000000000000..6793934fb6d63 --- /dev/null +++ b/perl/perl-Pod-Coverage/README @@ -0,0 +1,6 @@ +perl-Pod-Coverage (Check if module documentation is comprehensive) + +This module provides a mechanism for determining if the pod for +a given module is comprehensive. + +Dependencies: perl-Devel-Symdump, available on SlackBuilds.org diff --git a/perl/perl-Pod-Coverage/perl-Pod-Coverage.SlackBuild b/perl/perl-Pod-Coverage/perl-Pod-Coverage.SlackBuild new file mode 100644 index 0000000000000..c7f0f604e070e --- /dev/null +++ b/perl/perl-Pod-Coverage/perl-Pod-Coverage.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for perl-Pod-Coverage + +# Copyright 2010 V'yacheslav Stetskevych <slava18 dont_spam_me gmail com> +# 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. + +SRCNAM=Pod-Coverage +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.20} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes \ + $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-Pod-Coverage/perl-Pod-Coverage.info b/perl/perl-Pod-Coverage/perl-Pod-Coverage.info new file mode 100644 index 0000000000000..9e39863b73c3d --- /dev/null +++ b/perl/perl-Pod-Coverage/perl-Pod-Coverage.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Pod-Coverage" +VERSION="0.20" +HOMEPAGE="http://search.cpan.org/~rclamp/Pod-Coverage-0.20/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/Pod-Coverage-0.20.tar.gz" +MD5SUM="292a5b8d3a93597af441d3e6467b8ad6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Pod-Coverage/slack-desc b/perl/perl-Pod-Coverage/slack-desc new file mode 100644 index 0000000000000..e134604543409 --- /dev/null +++ b/perl/perl-Pod-Coverage/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-Pod-Coverage: perl-Pod-Coverage (Check if module documentation is comprehensive) +perl-Pod-Coverage: +perl-Pod-Coverage: This module provides a mechanism for determining if the pod for +perl-Pod-Coverage: a given module is comprehensive. +perl-Pod-Coverage: +perl-Pod-Coverage: +perl-Pod-Coverage: +perl-Pod-Coverage: +perl-Pod-Coverage: +perl-Pod-Coverage: +perl-Pod-Coverage: diff --git a/perl/perl-Proc-Daemon/README b/perl/perl-Proc-Daemon/README new file mode 100644 index 0000000000000..2db4452e4b266 --- /dev/null +++ b/perl/perl-Proc-Daemon/README @@ -0,0 +1,2 @@ +Proc::Daemon provides the capability for a Perl program to run +as a Unix daemon process. diff --git a/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild b/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild new file mode 100644 index 0000000000000..5e3b6957dea6c --- /dev/null +++ b/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild @@ -0,0 +1,66 @@ +#!/bin/sh + +# Slackware build script for perl-Proc-Daemon +# Written by Thomas Morper <thomas@beingboiled.info> + +SRCNAM=Proc-Daemon +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.03} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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" -empty | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + +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-Proc-Daemon/perl-Proc-Daemon.info b/perl/perl-Proc-Daemon/perl-Proc-Daemon.info new file mode 100644 index 0000000000000..57a3fa1348fd7 --- /dev/null +++ b/perl/perl-Proc-Daemon/perl-Proc-Daemon.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Proc-Daemon" +VERSION="0.03" +HOMEPAGE="http://search.cpan.org/~ehood/Proc-Daemon/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/E/EH/EHOOD/Proc-Daemon-0.03.tar.gz" +MD5SUM="6e1b83ac0f0add22f63597733f38c973" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" +APPROVED="Erik Hanson" diff --git a/perl/perl-Proc-Daemon/slack-desc b/perl/perl-Proc-Daemon/slack-desc new file mode 100644 index 0000000000000..3b3629c73b74b --- /dev/null +++ b/perl/perl-Proc-Daemon/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-Proc-Daemon: perl-Proc-Daemon (Run Perl program as a daemon process) +perl-Proc-Daemon: +perl-Proc-Daemon: Proc::Daemon provides the capability for a Perl program to run as a +perl-Proc-Daemon: Unix daemon process. +perl-Proc-Daemon: +perl-Proc-Daemon: +perl-Proc-Daemon: +perl-Proc-Daemon: +perl-Proc-Daemon: +perl-Proc-Daemon: +perl-Proc-Daemon: diff --git a/perl/perl-Socket6/README b/perl/perl-Socket6/README new file mode 100644 index 0000000000000..5bd1700aae889 --- /dev/null +++ b/perl/perl-Socket6/README @@ -0,0 +1,2 @@ +Socket6 - IPv6 related part of the C socket.h defines and structure +manipulators. This provides glue routines to the various IPv6 functions. diff --git a/perl/perl-Socket6/perl-Socket6.SlackBuild b/perl/perl-Socket6/perl-Socket6.SlackBuild new file mode 100644 index 0000000000000..ceb6388bdd6a5 --- /dev/null +++ b/perl/perl-Socket6/perl-Socket6.SlackBuild @@ -0,0 +1,102 @@ +#!/bin/sh + +# Slackware build script for perl-Socket6 + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Socket6 +VERSION=${VERSION:-0.23} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Socket6 +DOCS="README" + +# 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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Socket6/perl-Socket6.info b/perl/perl-Socket6/perl-Socket6.info new file mode 100644 index 0000000000000..08d558377967b --- /dev/null +++ b/perl/perl-Socket6/perl-Socket6.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Socket6" +VERSION="0.23" +HOMEPAGE="http://search.cpan.org/dist/Socket6/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-0.23.tar.gz" +MD5SUM="2c02adb13c449d48d232bb704ddbd492" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-Socket6/slack-desc b/perl/perl-Socket6/slack-desc new file mode 100644 index 0000000000000..31b0817d66525 --- /dev/null +++ b/perl/perl-Socket6/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-Socket6: perl-Socket6 (IPv6 related part of the C socket.h) +perl-Socket6: +perl-Socket6: This module provides glue routines to the various IPv6 functions. +perl-Socket6: +perl-Socket6: +perl-Socket6: +perl-Socket6: +perl-Socket6: +perl-Socket6: +perl-Socket6: +perl-Socket6: diff --git a/perl/perl-Statistics-Descriptive/README b/perl/perl-Statistics-Descriptive/README new file mode 100644 index 0000000000000..69c15edd6a1e6 --- /dev/null +++ b/perl/perl-Statistics-Descriptive/README @@ -0,0 +1,6 @@ +This module provides basic functions used in descriptive statistics. It has an +object oriented design and supports two different types of data storage and +calculation objects: sparse and full. With the sparse method, none of the data +is stored and only a few statistical measures are available. Using the full +method, the entire data set is retained and additional functions are +available. diff --git a/perl/perl-Statistics-Descriptive/perl-Statistics-Descriptive.SlackBuild b/perl/perl-Statistics-Descriptive/perl-Statistics-Descriptive.SlackBuild new file mode 100644 index 0000000000000..b0abc3be515f4 --- /dev/null +++ b/perl/perl-Statistics-Descriptive/perl-Statistics-Descriptive.SlackBuild @@ -0,0 +1,102 @@ +#!/bin/sh + +# Slackware build script for perl-Statistics-Descriptive + +# Copyright 2011 Tracy Williams <t_s_williams[at]yahoo[dot]com> +# 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-Statistics-Descriptive +VERSION=${VERSION:-3.0201} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Statistics-Descriptive + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/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" -empty | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes MANIFEST README UserSurvey.txt examples \ + $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-Statistics-Descriptive/perl-Statistics-Descriptive.info b/perl/perl-Statistics-Descriptive/perl-Statistics-Descriptive.info new file mode 100644 index 0000000000000..cbb98d15a7962 --- /dev/null +++ b/perl/perl-Statistics-Descriptive/perl-Statistics-Descriptive.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Statistics-Descriptive" +VERSION="3.0201" +HOMEPAGE="http://search.cpan.org/dist/Statistics-Descriptive/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Statistics-Descriptive-3.0201.tar.gz" +MD5SUM="f865d2599cb2bfe49ff5d77c4b66456b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Tracy Williams" +EMAIL="t_s_williams[at]yahoo[dot]com" +APPROVED="rworkman" diff --git a/perl/perl-Statistics-Descriptive/slack-desc b/perl/perl-Statistics-Descriptive/slack-desc new file mode 100644 index 0000000000000..43f9ba21889b1 --- /dev/null +++ b/perl/perl-Statistics-Descriptive/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-Statistics-Descriptive: perl-Statistics-Descriptive (descriptive statistics functions) +perl-Statistics-Descriptive: +perl-Statistics-Descriptive: Statistics::Descriptive provides basic functions used in descriptive +perl-Statistics-Descriptive: statistics. It has an object oriented design and supports two +perl-Statistics-Descriptive: different types of data storage and calculation objects: sparse and +perl-Statistics-Descriptive: full. With the sparse method, none of the data is stored and only a +perl-Statistics-Descriptive: few statistical measures are available. Using the full method, the +perl-Statistics-Descriptive: entire data set is retained and additional functions are available. +perl-Statistics-Descriptive: +perl-Statistics-Descriptive: Homepage: http://search.cpan.org/dist/Statistics-Descriptive/ +perl-Statistics-Descriptive: diff --git a/perl/perl-Sub-Uplevel/README b/perl/perl-Sub-Uplevel/README new file mode 100644 index 0000000000000..5f65d7b3b772f --- /dev/null +++ b/perl/perl-Sub-Uplevel/README @@ -0,0 +1,3 @@ +perl-Sub-Uplevel provides perl modules to run a function in a higher stack frame. + +perl-Sub-Uplevel is a recommended dependency for perl-Carp-Clan. diff --git a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild new file mode 100644 index 0000000000000..956895836c16d --- /dev/null +++ b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Sub::Uplevel +# Home Page http://search.cpan.org/dist/Sub-Uplevel/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant@mnspace.net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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-Sub-Uplevel +VERSION=0.22 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Sub-Uplevel + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +DOCS="Changes INSTALL LICENSE README" + +rm -rf $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ + -exec chmod 644 {} \; +find . \ + \( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \ + -exec chmod 755 {} \; + +CFLAGS="$SLKCFLAGS" perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor +make +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION + +# move man pages +mv $PKG/usr/share/man $PKG/usr + +# 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 {} \; + +# find and compress man pages +find $PKG/usr/man -type f -exec gzip -9 {} \; + +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-Sub-Uplevel/perl-Sub-Uplevel.info b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info new file mode 100644 index 0000000000000..055b4216fa10a --- /dev/null +++ b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Sub-Uplevel" +VERSION="0.22" +HOMEPAGE="http://search.cpan.org/dist/Sub-Uplevel/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-0.22.tar.gz" +MD5SUM="c166738a97c0424a0075ebe205d285db" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Sub-Uplevel/slack-desc b/perl/perl-Sub-Uplevel/slack-desc new file mode 100644 index 0000000000000..aed7798f420fb --- /dev/null +++ b/perl/perl-Sub-Uplevel/slack-desc @@ -0,0 +1,18 @@ +# 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-Sub-Uplevel: perl-Sub-Uplevel (Sub::Uplevel) +perl-Sub-Uplevel: +perl-Sub-Uplevel: perl-Sub-Uplevel allows to run a function in a higher +perl-Sub-Uplevel: stack frame. +perl-Sub-Uplevel: +perl-Sub-Uplevel: Home Page: http://search.cpan.org/dist/Sub-Uplevel/ +perl-Sub-Uplevel: +perl-Sub-Uplevel: +perl-Sub-Uplevel: +perl-Sub-Uplevel: +perl-Sub-Uplevel: diff --git a/perl/perl-Sys-Mmap/README b/perl/perl-Sys-Mmap/README new file mode 100644 index 0000000000000..a320862f316ad --- /dev/null +++ b/perl/perl-Sys-Mmap/README @@ -0,0 +1,5 @@ +perl-Sys-Mmap (uses mmap to map in a file as a Perl variable) + +The mmap module uses the POSIX mmap call to map in a file as a Perl +variable. Memory access by mmap may be shared between threads or +forked processes, and may be a disc file that has been mapped into memory. diff --git a/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild b/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild new file mode 100644 index 0000000000000..6f30a08b56a8f --- /dev/null +++ b/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +# Slackware build script for perl-Sys-Mmap +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=Sys-Mmap +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.13} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Artistic Copying README Changes \ + $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-Sys-Mmap/perl-Sys-Mmap.info b/perl/perl-Sys-Mmap/perl-Sys-Mmap.info new file mode 100644 index 0000000000000..d01bc9ae2350e --- /dev/null +++ b/perl/perl-Sys-Mmap/perl-Sys-Mmap.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Sys-Mmap" +VERSION="0.13" +HOMEPAGE="http://search.cpan.org/~swalters/Sys-Mmap-0.13/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SW/SWALTERS/Sys-Mmap-0.13.tar.gz" +MD5SUM="e65a007157e3e26807db52299497109d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Sys-Mmap/slack-desc b/perl/perl-Sys-Mmap/slack-desc new file mode 100644 index 0000000000000..93398eb0851ae --- /dev/null +++ b/perl/perl-Sys-Mmap/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-Sys-Mmap: perl-Sys-Mmap (uses mmap to map in a file as a Perl variable) +perl-Sys-Mmap: +perl-Sys-Mmap: The mmap module uses the POSIX mmap call to map in a file as a Perl +perl-Sys-Mmap: variable. Memory access by mmap may be shared between threads or +perl-Sys-Mmap: forked processes, and may be a disc file that has been mapped into +perl-Sys-Mmap: memory. +perl-Sys-Mmap: +perl-Sys-Mmap: +perl-Sys-Mmap: +perl-Sys-Mmap: +perl-Sys-Mmap: diff --git a/perl/perl-Sys-Syscall/README b/perl/perl-Sys-Syscall/README new file mode 100644 index 0000000000000..ce2aa8a39fa12 --- /dev/null +++ b/perl/perl-Sys-Syscall/README @@ -0,0 +1,2 @@ +Sys::Syscall - access system calls that Perl doesn't normally provide +access to. diff --git a/perl/perl-Sys-Syscall/perl-Sys-Syscall.SlackBuild b/perl/perl-Sys-Syscall/perl-Sys-Syscall.SlackBuild new file mode 100644 index 0000000000000..c27e67f824891 --- /dev/null +++ b/perl/perl-Sys-Syscall/perl-Sys-Syscall.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for perl-Sys-Syscall + +# Copyright 2009-2010 Adrian Ulrich <adrian@blinkenlights.ch> +# 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-Sys-Syscall +VERSION=${VERSION:-0.23} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Sys-Syscall +DOCS="README.pod" + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +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 + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Sys-Syscall/perl-Sys-Syscall.info b/perl/perl-Sys-Syscall/perl-Sys-Syscall.info new file mode 100644 index 0000000000000..0b4a240208bf9 --- /dev/null +++ b/perl/perl-Sys-Syscall/perl-Sys-Syscall.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Sys-Syscall" +VERSION="0.23" +HOMEPAGE="http://search.cpan.org/dist/Sys-Syscall/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/Sys-Syscall-0.23.tar.gz" +MD5SUM="be6dc2d791684a6f8abb3dd39ff2d1de" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Adrian Ulrich" +EMAIL="adrian@blinkenlights.ch" +APPROVED="Niels Horn" diff --git a/perl/perl-Sys-Syscall/slack-desc b/perl/perl-Sys-Syscall/slack-desc new file mode 100644 index 0000000000000..1176adda0d419 --- /dev/null +++ b/perl/perl-Sys-Syscall/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-Sys-Syscall: perl-Sys-Syscall (perl System Call access) +perl-Sys-Syscall: +perl-Sys-Syscall: Sys::Syscall gives access to system calls that Perl doesn't +perl-Sys-Syscall: normally provide. +perl-Sys-Syscall: +perl-Sys-Syscall: This module is required by Danga::Socket +perl-Sys-Syscall: +perl-Sys-Syscall: +perl-Sys-Syscall: +perl-Sys-Syscall: +perl-Sys-Syscall: diff --git a/perl/perl-Task-Weaken/README b/perl/perl-Task-Weaken/README new file mode 100644 index 0000000000000..ea35c05c318c0 --- /dev/null +++ b/perl/perl-Task-Weaken/README @@ -0,0 +1,2 @@ +perl-Task-Weaken - Ensures that a platform has weaken support. + diff --git a/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild b/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild new file mode 100644 index 0000000000000..fdde1a9e5e0ea --- /dev/null +++ b/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-Task-Weaken + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=Task-Weaken +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.03} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE 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-Task-Weaken/perl-Task-Weaken.info b/perl/perl-Task-Weaken/perl-Task-Weaken.info new file mode 100644 index 0000000000000..6f310034893e2 --- /dev/null +++ b/perl/perl-Task-Weaken/perl-Task-Weaken.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Task-Weaken" +VERSION="1.03" +HOMEPAGE="http://search.cpan.org/dist/Task-Weaken/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Task-Weaken-1.03.tar.gz" +MD5SUM="056ce36c576450d22e6b23b4dbfacd02" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Task-Weaken/slack-desc b/perl/perl-Task-Weaken/slack-desc new file mode 100644 index 0000000000000..9996fc210b2d5 --- /dev/null +++ b/perl/perl-Task-Weaken/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-Task-Weaken: perl-Task-Weaken (ensure that a platform has weaken support) +perl-Task-Weaken: +perl-Task-Weaken: Task::Weaken - Ensure that a platform has weaken support. +perl-Task-Weaken: +perl-Task-Weaken: +perl-Task-Weaken: +perl-Task-Weaken: +perl-Task-Weaken: +perl-Task-Weaken: +perl-Task-Weaken: +perl-Task-Weaken: diff --git a/perl/perl-Template-Toolkit/README b/perl/perl-Template-Toolkit/README new file mode 100644 index 0000000000000..07bfb02efea6f --- /dev/null +++ b/perl/perl-Template-Toolkit/README @@ -0,0 +1,8 @@ +The Template Toolkit is a collection of Perl modules which implement a +fast, flexible, powerful and extensible template processing system. + +It is "input-agnostic" and can be used equally well for processing any +kind of text documents: HTML, XML, CSS, Javascript, Perl code, plain text, +and so on. + +This needs perl-AppConfig. diff --git a/perl/perl-Template-Toolkit/key-value.patch b/perl/perl-Template-Toolkit/key-value.patch new file mode 100644 index 0000000000000..16eebd805f23a --- /dev/null +++ b/perl/perl-Template-Toolkit/key-value.patch @@ -0,0 +1,11 @@ +--- Makefile.PL.orig 2009-05-21 14:16:48.000000000 +0200 ++++ Makefile.PL 2010-06-21 00:41:30.631164799 +0200 +@@ -43,7 +43,7 @@ + + my (%config, %ttconfig); + while ($_ = shift) { +- my ($k, $v) = split(/=/); ++ my ($k, $v) = split(/=/, $_, 2); + if ($k =~ /^TT/) { + $ttconfig{ $k } = $v || 0; + } diff --git a/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild b/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild new file mode 100644 index 0000000000000..5ffa3b47a62a7 --- /dev/null +++ b/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for perl-Template-Toolkit +# Written by Thomas Morper <thomas@beingboiled.info> + +SRCNAM=Template-Toolkit +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-2.22} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +# Uncomment, if any of the parameters you pass to Makefile.PL contains a "=" (like SLKCFLAGS) +#patch -p0 < $CWD/key-value.patch + +perl Makefile.PL \ + TT_ACCEPT=y \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/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" -empty | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes HACKING INSTALL MANIFEST README TODO \ + $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-Template-Toolkit/perl-Template-Toolkit.info b/perl/perl-Template-Toolkit/perl-Template-Toolkit.info new file mode 100644 index 0000000000000..c8321849b857f --- /dev/null +++ b/perl/perl-Template-Toolkit/perl-Template-Toolkit.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Template-Toolkit" +VERSION="2.22" +HOMEPAGE="http://search.cpan.org/~abw/Template-Toolkit/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-Toolkit-2.22.tar.gz" +MD5SUM="d98277f6420e5da6b93d99a8db2b3934" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" +APPROVED="Erik Hanson" diff --git a/perl/perl-Template-Toolkit/slack-desc b/perl/perl-Template-Toolkit/slack-desc new file mode 100644 index 0000000000000..3237375558679 --- /dev/null +++ b/perl/perl-Template-Toolkit/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-Template-Toolkit: perl-Template-Toolkit (comprehensive template processing system) +perl-Template-Toolkit: +perl-Template-Toolkit: The Template Toolkit is a collection of Perl modules which implement +perl-Template-Toolkit: a fast, flexible, powerful and extensible template processing system. +perl-Template-Toolkit: +perl-Template-Toolkit: It is "input-agnostic" and can be used equally well for processing +perl-Template-Toolkit: any kind of text documents: HTML, XML, CSS, Javascript, Perl code, +perl-Template-Toolkit: plain text, and so on. +perl-Template-Toolkit: +perl-Template-Toolkit: +perl-Template-Toolkit: diff --git a/perl/perl-Term-Animation/README b/perl/perl-Term-Animation/README new file mode 100644 index 0000000000000..ab20f1335695b --- /dev/null +++ b/perl/perl-Term-Animation/README @@ -0,0 +1,9 @@ +perl-Term-Animation (ASCII sprite animation framework) + +This module provides a framework to produce sprite animations using +ASCII art. Each ASCII 'sprite' is given one or more frames, and +placed into the animation as an 'animation object'. An animation +object can have a callback routine that controls the position and +frame of the object. + +Requires perl-Curses available at SlackBuilds.org
\ No newline at end of file diff --git a/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild b/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild new file mode 100644 index 0000000000000..9af3166599dfc --- /dev/null +++ b/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for perl-Term-Animation + +# Written by Vincent Batts, vbatts@hashbangbash.com + +SRCNAM=Term-Animation +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-2.4} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README MIGRATION Changes \ + $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-Term-Animation/perl-Term-Animation.info b/perl/perl-Term-Animation/perl-Term-Animation.info new file mode 100644 index 0000000000000..0183ef19661a2 --- /dev/null +++ b/perl/perl-Term-Animation/perl-Term-Animation.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Term-Animation" +VERSION="2.4" +HOMEPAGE="http://search.cpan.org/~kbaucom/Term-Animation-2.4/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz" +MD5SUM="92799819f87f38cdbccf4c215e49b4cb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Vincent Batts" +EMAIL="vbatts@hashbangbash.com" +APPROVED="dsomero" diff --git a/perl/perl-Term-Animation/slack-desc b/perl/perl-Term-Animation/slack-desc new file mode 100644 index 0000000000000..bf36e297dc9f5 --- /dev/null +++ b/perl/perl-Term-Animation/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-Term-Animation: perl-Term-Animation (ASCII sprite animation framework) +perl-Term-Animation: +perl-Term-Animation: This module provides a framework to produce sprite animations using +perl-Term-Animation: ASCII art. Each ASCII 'sprite' is given one or more frames, and +perl-Term-Animation: placed into the animation as an 'animation object'. An animation +perl-Term-Animation: object can have a callback routine that controls the position and +perl-Term-Animation: frame of the object. +perl-Term-Animation: +perl-Term-Animation: +perl-Term-Animation: +perl-Term-Animation: diff --git a/perl/perl-TermReadKey/README b/perl/perl-TermReadKey/README new file mode 100644 index 0000000000000..2a8706305d36e --- /dev/null +++ b/perl/perl-TermReadKey/README @@ -0,0 +1,9 @@ +Term::ReadKey - A perl module for simple terminal control + +Term::ReadKey is a compiled perl module dedicated to providing simple +control over terminal driver modes (cbreak, raw, cooked, etc.,) support +for non-blocking reads, if the architecture allows, and some generalized +handy functions for working with terminals. One of the main goals is to +have the functions as portable as possible, so you can just plug in "use +Term::ReadKey" on any architecture and have a good likelyhood of it +working. diff --git a/perl/perl-TermReadKey/perl-TermReadKey.SlackBuild b/perl/perl-TermReadKey/perl-TermReadKey.SlackBuild new file mode 100644 index 0000000000000..a769869190dd8 --- /dev/null +++ b/perl/perl-TermReadKey/perl-TermReadKey.SlackBuild @@ -0,0 +1,102 @@ +#!/bin/sh + +# Copyright (c) 2010 Daniel LEVAI +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of the <organization> nor the +# names of its contributors may be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED ''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 COPYRIGHT HOLDER 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. + +# Build script for perl-TermReadKey + +SRCNAM=TermReadKey +PRGNAM=perl-$SRCNAM +VERSION=2.30 +BUILD=${BUILD:-0} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ];then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -Rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -Rf $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a 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-TermReadKey/perl-TermReadKey.info b/perl/perl-TermReadKey/perl-TermReadKey.info new file mode 100644 index 0000000000000..fecf0a883e78e --- /dev/null +++ b/perl/perl-TermReadKey/perl-TermReadKey.info @@ -0,0 +1,10 @@ +PRGNAM="perl-TermReadKey" +VERSION="2.30" +HOMEPAGE="http://search.cpan.org/~jstowe/TermReadKey-2.30/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/TermReadKey-2.30.tar.gz" +MD5SUM="f0ef2cea8acfbcc58d865c05b0c7e1ff" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Daniel LEVAI" +EMAIL="leva@ecentrum.hu" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-TermReadKey/slack-desc b/perl/perl-TermReadKey/slack-desc new file mode 100644 index 0000000000000..c4e690c9b0830 --- /dev/null +++ b/perl/perl-TermReadKey/slack-desc @@ -0,0 +1,16 @@ +# 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-TermReadKey: perl-TermReadKey (A perl module for simple terminal control) +perl-TermReadKey: +perl-TermReadKey: Term::ReadKey is a compiled perl module dedicated to providing simple +perl-TermReadKey: control over terminal driver modes (cbreak, raw, cooked, etc.,) +perl-TermReadKey: support for non-blocking reads, if the architecture allows, and some +perl-TermReadKey: generalized handy functions for working with terminals. +perl-TermReadKey: +perl-TermReadKey: Homepage: http://search.cpan.org/~kjalb/TermReadKey-2.14/ diff --git a/perl/perl-Test-Exception/README b/perl/perl-Test-Exception/README new file mode 100644 index 0000000000000..86d591d3ed132 --- /dev/null +++ b/perl/perl-Test-Exception/README @@ -0,0 +1,3 @@ +perl-Test-Exception provides modules for testing exception based code. + +This requires perl-Sub-Uplevel. diff --git a/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild b/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild new file mode 100644 index 0000000000000..ce9c3f63df4a3 --- /dev/null +++ b/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Test::Exception +# Home Page http://search.cpan.org/dist/Test-Exception/ + +# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ net> +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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-Test-Exception +VERSION=${VERSION:-0.31} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Test-Exception + +# 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} + +set -e + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +DOCS="Changes README" + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION + +chown -R root.root . +find . \ +\( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ +-exec chmod 644 {} \; +find . \ +\( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \ +-exec chmod 755 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +# Remove perlocal.pod and .packlist from $PKG ; remove empty directories +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +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-Test-Exception/perl-Test-Exception.info b/perl/perl-Test-Exception/perl-Test-Exception.info new file mode 100644 index 0000000000000..d4c1e0195a930 --- /dev/null +++ b/perl/perl-Test-Exception/perl-Test-Exception.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Test-Exception" +VERSION="0.31" +HOMEPAGE="http://search.cpan.org/dist/Test-Exception/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Exception-0.31.tar.gz" +MD5SUM="adb57ca7614d15e5b307bf5e024b35a8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-Test-Exception/slack-desc b/perl/perl-Test-Exception/slack-desc new file mode 100644 index 0000000000000..18180751abfc5 --- /dev/null +++ b/perl/perl-Test-Exception/slack-desc @@ -0,0 +1,18 @@ +# 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-Test-Exception: perl-Test-Exception (Test::Exception) +perl-Test-Exception: +perl-Test-Exception: perl-Test-Exception provides modules for testing exception +perl-Test-Exception: based code. +perl-Test-Exception: +perl-Test-Exception: Homepage: http://search.cpan.org/dist/Test-Exception/ +perl-Test-Exception: +perl-Test-Exception: +perl-Test-Exception: +perl-Test-Exception: +perl-Test-Exception: diff --git a/perl/perl-Test-Inter/README b/perl/perl-Test-Inter/README new file mode 100644 index 0000000000000..3961b106074ea --- /dev/null +++ b/perl/perl-Test-Inter/README @@ -0,0 +1,5 @@ +perl-Test-Inter (framework for more readable interactive test scripts) + +This is another framework for writing test scripts. +It is loosely inspired by Test::More, and has most of it's +functionality, but it is not a drop-in replacement. diff --git a/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild b/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild new file mode 100644 index 0000000000000..64d2798b1673f --- /dev/null +++ b/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for perl-Test-Inter +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=Test-Inter +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.01} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README TODO INSTALL ChangeLog \ + $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-Test-Inter/perl-Test-Inter.info b/perl/perl-Test-Inter/perl-Test-Inter.info new file mode 100644 index 0000000000000..c553c444f1c94 --- /dev/null +++ b/perl/perl-Test-Inter/perl-Test-Inter.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Test-Inter" +VERSION="1.01" +HOMEPAGE="http://search.cpan.org/~sbeck/Test-Inter-1.01/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Test-Inter-1.01.tar.gz" +MD5SUM="445166a7472e609b96e4474d95552827" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Test-Inter/slack-desc b/perl/perl-Test-Inter/slack-desc new file mode 100644 index 0000000000000..8348106b5a755 --- /dev/null +++ b/perl/perl-Test-Inter/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-Test-Inter: perl-Test-Inter (framework for more readable interactive test scripts) +perl-Test-Inter: +perl-Test-Inter: This is another framework for writing test scripts. +perl-Test-Inter: It is loosely inspired by Test::More, and has most of it's +perl-Test-Inter: functionality, but it is not a drop-in replacement. +perl-Test-Inter: +perl-Test-Inter: +perl-Test-Inter: +perl-Test-Inter: +perl-Test-Inter: +perl-Test-Inter: diff --git a/perl/perl-Test-Pod-Coverage/README b/perl/perl-Test-Pod-Coverage/README new file mode 100644 index 0000000000000..8c788f7a55457 --- /dev/null +++ b/perl/perl-Test-Pod-Coverage/README @@ -0,0 +1,5 @@ +perl-Test-Pod-Coverage (Check for pod coverage in your distribution) + +Checks for POD coverage in files for your distribution. + +Dependencies: perl-Pod-Coverage, available on SlackBuilds.org diff --git a/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild new file mode 100644 index 0000000000000..7e3f387172a1e --- /dev/null +++ b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for perl-Test-Pod-Coverage +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=Test-Pod-Coverage +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.08} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes \ + $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-Test-Pod-Coverage/perl-Test-Pod-Coverage.info b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.info new file mode 100644 index 0000000000000..5f89127d18445 --- /dev/null +++ b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Test-Pod-Coverage" +VERSION="1.08" +HOMEPAGE="http://search.cpan.org/~petdance/Test-Pod-Coverage-1.08/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Pod-Coverage-1.08.tar.gz" +MD5SUM="33405cca7c75b7b89c06ba30eea66692" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Test-Pod-Coverage/slack-desc b/perl/perl-Test-Pod-Coverage/slack-desc new file mode 100644 index 0000000000000..539b80518befc --- /dev/null +++ b/perl/perl-Test-Pod-Coverage/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-Test-Pod-Coverage: perl-Test-Pod-Coverage (Check for pod coverage in your distribution) +perl-Test-Pod-Coverage: +perl-Test-Pod-Coverage: Checks for POD coverage in files for your distribution. +perl-Test-Pod-Coverage: +perl-Test-Pod-Coverage: +perl-Test-Pod-Coverage: +perl-Test-Pod-Coverage: +perl-Test-Pod-Coverage: +perl-Test-Pod-Coverage: +perl-Test-Pod-Coverage: +perl-Test-Pod-Coverage: diff --git a/perl/perl-Test-Pod/README b/perl/perl-Test-Pod/README new file mode 100644 index 0000000000000..c1e8821195e6b --- /dev/null +++ b/perl/perl-Test-Pod/README @@ -0,0 +1 @@ +perl-Test-Pod checks for POD errors in files. diff --git a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild new file mode 100644 index 0000000000000..793b57248ea6b --- /dev/null +++ b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild @@ -0,0 +1,82 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Test::POD +# Home Page http://search.cpan.org/dist/Test-Pod/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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-Test-Pod +VERSION=1.44 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Test-Pod + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes" + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Build.PL prefix=/usr installdirs=vendor destdir=$PKG +./Build +./Build test +./Build install + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mv $PKG/usr/share/man $PKG/usr/man +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +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-Test-Pod/perl-Test-Pod.info b/perl/perl-Test-Pod/perl-Test-Pod.info new file mode 100644 index 0000000000000..7aabca1b7589a --- /dev/null +++ b/perl/perl-Test-Pod/perl-Test-Pod.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Test-Pod" +VERSION="1.44" +HOMEPAGE="http://search.cpan.org/dist/Test-Pod/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-1.44.tar.gz" +MD5SUM="02380af5539521524d5df17273a57ae7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-Test-Pod/slack-desc b/perl/perl-Test-Pod/slack-desc new file mode 100644 index 0000000000000..8e6689d62e08f --- /dev/null +++ b/perl/perl-Test-Pod/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-Test-Pod: perl-Test-Pod (Test::Pod) +perl-Test-Pod: +perl-Test-Pod: perl-Test-Pod - checks for POD errors in files +perl-Test-Pod: +perl-Test-Pod: Homepage: http://search.cpan.org/dist/Test-Pod/ +perl-Test-Pod: +perl-Test-Pod: +perl-Test-Pod: +perl-Test-Pod: +perl-Test-Pod: +perl-Test-Pod: diff --git a/perl/perl-Text-Autoformat/README b/perl/perl-Text-Autoformat/README new file mode 100644 index 0000000000000..1b289d17b7c60 --- /dev/null +++ b/perl/perl-Text-Autoformat/README @@ -0,0 +1,15 @@ +perl-Text-Autoformat (Automatic text wrapping and reformatting) + +Text::Autoformat provides intelligent formatting of plaintext without +the need for any kind of embedded mark-up. The module recognizes +Internet quoting conventions, a wide range of bulleting and number +schemes, centred text, and block quotations, and reformats each +appropriately. Other options allow the user to adjust inter-word and +inter-paragraph spacing, justify text, and impose various +capitalization schemes. + +The module also supplies a re-entrant, highly configurable replacement +for the built-in Perl format() mechanism. + + +Requires perl-Text-Reform. diff --git a/perl/perl-Text-Autoformat/perl-Text-Autoformat.SlackBuild b/perl/perl-Text-Autoformat/perl-Text-Autoformat.SlackBuild new file mode 100644 index 0000000000000..bf87bac6390c5 --- /dev/null +++ b/perl/perl-Text-Autoformat/perl-Text-Autoformat.SlackBuild @@ -0,0 +1,66 @@ +#!/bin/sh + +# Slackware build script for perl-Text-Autoformat +# Written by Å ime Ramov <s@ramov.com> + +SRCNAM=Text-Autoformat +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.669002} +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README Changes config.vim config.emacs $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-Text-Autoformat/perl-Text-Autoformat.info b/perl/perl-Text-Autoformat/perl-Text-Autoformat.info new file mode 100644 index 0000000000000..3ebfe84715a93 --- /dev/null +++ b/perl/perl-Text-Autoformat/perl-Text-Autoformat.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Text-Autoformat" +VERSION="1.669002" +HOMEPAGE="http://search.cpan.org/dist/Text-Autoformat/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Text-Autoformat-1.669002.tar.gz" +MD5SUM="c2c400207f49a769e32b5b1b660b07f7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Å ime Ramov" +EMAIL="s@ramov.com" +APPROVED="dsomero" diff --git a/perl/perl-Text-Autoformat/slack-desc b/perl/perl-Text-Autoformat/slack-desc new file mode 100644 index 0000000000000..3ffe28f3387c4 --- /dev/null +++ b/perl/perl-Text-Autoformat/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-Text-Autoformat: perl-Text-Autoformat (Automatic text wrapping and reformatting) +perl-Text-Autoformat: +perl-Text-Autoformat: Text::Autoformat provides intelligent formatting of plaintext +perl-Text-Autoformat: without the need for any kind of embedded mark-up. The module +perl-Text-Autoformat: recognizes Internet quoting conventions, a wide range of bulleting +perl-Text-Autoformat: and number schemes, centred text, and block quotations, and +perl-Text-Autoformat: reformats each appropriately. Other options allow the user to adjust +perl-Text-Autoformat: inter-word and inter-paragraph spacing, justify text, and impose +perl-Text-Autoformat: various capitalization schemes. +perl-Text-Autoformat: +perl-Text-Autoformat: diff --git a/perl/perl-Text-Iconv/README b/perl/perl-Text-Iconv/README new file mode 100644 index 0000000000000..f501d247048fc --- /dev/null +++ b/perl/perl-Text-Iconv/README @@ -0,0 +1,2 @@ +This module provides a Perl interface to the iconv() codeset +conversion function. It was written by Michael Piotrowski. diff --git a/perl/perl-Text-Iconv/perl-Text-Iconv.SlackBuild b/perl/perl-Text-Iconv/perl-Text-Iconv.SlackBuild new file mode 100644 index 0000000000000..cf9b22ac3af1a --- /dev/null +++ b/perl/perl-Text-Iconv/perl-Text-Iconv.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +# Slackware build script for perl-Text-Iconv +# Written by Dominik Drobek <dominik.drobek (at) o2.pl> + + +PRGNAM=perl-Text-Iconv +VERSION=${VERSION:-1.7} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=$(echo $PRGNAM | cut -f2- -d-) + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 + +# fix permissions of man page: +chmod 644 $PKG/usr/man/man3/*.gz + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + + +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-Text-Iconv/perl-Text-Iconv.info b/perl/perl-Text-Iconv/perl-Text-Iconv.info new file mode 100644 index 0000000000000..2f21e4002ca1b --- /dev/null +++ b/perl/perl-Text-Iconv/perl-Text-Iconv.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Text-Iconv" +VERSION="1.7" +HOMEPAGE="http://search.cpan.org/~mpiotr/Text-Iconv" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-1.7.tar.gz" +MD5SUM="81b26e069eaebb084e91ea3c009b67ae" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Dominik Drobek" +EMAIL="dominik.drobek@o2.pl" +APPROVED="Niels Horn" diff --git a/perl/perl-Text-Iconv/slack-desc b/perl/perl-Text-Iconv/slack-desc new file mode 100644 index 0000000000000..78f8a5fcbc4d1 --- /dev/null +++ b/perl/perl-Text-Iconv/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-Text-Iconv: perl-Text-Iconv (Perl interface to the iconv() function) +perl-Text-Iconv: +perl-Text-Iconv: This module provides a Perl interface to the iconv() codeset +perl-Text-Iconv: conversion function. It was written by Michael Piotrowski. +perl-Text-Iconv: +perl-Text-Iconv: Homepage: http://search.cpan.org/~mpiotr/Text-Iconv +perl-Text-Iconv: +perl-Text-Iconv: +perl-Text-Iconv: +perl-Text-Iconv: +perl-Text-Iconv: diff --git a/perl/perl-Text-Reform/README b/perl/perl-Text-Reform/README new file mode 100644 index 0000000000000..3b054382d4b3b --- /dev/null +++ b/perl/perl-Text-Reform/README @@ -0,0 +1,4 @@ +perl-Text-Reform (Manual text wrapping and reformatting) + +The module supplies a re-entrant, highly configurable replacement for +the built-in Perl format() mechanism. diff --git a/perl/perl-Text-Reform/perl-Text-Reform.SlackBuild b/perl/perl-Text-Reform/perl-Text-Reform.SlackBuild new file mode 100644 index 0000000000000..961ded1a9ce84 --- /dev/null +++ b/perl/perl-Text-Reform/perl-Text-Reform.SlackBuild @@ -0,0 +1,66 @@ +#!/bin/sh + +# Slackware build script for perl-Text-Reform +# Written by Å ime Ramov <s@ramov.com> + +SRCNAM=Text-Reform +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.20} +BUILD=${BUILD:-2} +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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 || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README Changes $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-Text-Reform/perl-Text-Reform.info b/perl/perl-Text-Reform/perl-Text-Reform.info new file mode 100644 index 0000000000000..cb67340b04a98 --- /dev/null +++ b/perl/perl-Text-Reform/perl-Text-Reform.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Text-Reform" +VERSION="1.20" +HOMEPAGE="http://search.cpan.org/~chorny/Text-Reform/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Text-Reform-1.20.tar.gz" +MD5SUM="f37f5834f3dc221eacd09bdfcfe40918" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Å ime Ramov" +EMAIL="s@ramov.com" +APPROVED="dsomero" diff --git a/perl/perl-Text-Reform/slack-desc b/perl/perl-Text-Reform/slack-desc new file mode 100644 index 0000000000000..3c41e91776057 --- /dev/null +++ b/perl/perl-Text-Reform/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-Text-Reform: perl-Text-Reform (Manual text wrapping and reformatting) +perl-Text-Reform: +perl-Text-Reform: The module supplies a re-entrant, highly configurable replacement +perl-Text-Reform: for the built-in Perl format() mechanism. +perl-Text-Reform: +perl-Text-Reform: +perl-Text-Reform: +perl-Text-Reform: +perl-Text-Reform: +perl-Text-Reform: +perl-Text-Reform: diff --git a/perl/perl-Tidy/README b/perl/perl-Tidy/README new file mode 100644 index 0000000000000..d643584ea4182 --- /dev/null +++ b/perl/perl-Tidy/README @@ -0,0 +1,6 @@ +Perltidy is a tool to indent and reformat perl scripts. It can also +write scripts in html format. + +These modules are not required, but perltidy may use them if detected: +HTML::Entities will be used to encode HTML entities if detected. +Pod::Html will be used to format pod text. diff --git a/perl/perl-Tidy/perl-Tidy.SlackBuild b/perl/perl-Tidy/perl-Tidy.SlackBuild new file mode 100644 index 0000000000000..cc74a49d41575 --- /dev/null +++ b/perl/perl-Tidy/perl-Tidy.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/sh + +# Slackware build script for Tidy +# Written by Joey Trungale <joey@trungale.net> + +PRGNAM=perl-Tidy +VERSION=${VERSION:-20090616} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Perl-Tidy + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +find $PKG -depth -type d -empty -delete || true + +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-Tidy/perl-Tidy.info b/perl/perl-Tidy/perl-Tidy.info new file mode 100644 index 0000000000000..deee382f64344 --- /dev/null +++ b/perl/perl-Tidy/perl-Tidy.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Tidy" +VERSION="20090616" +HOMEPAGE="http://search.cpan.org/dist/Tidy" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SH/SHANCOCK/Perl-Tidy-20090616.tar.gz" +MD5SUM="63baa94a96fc5c272e06e72e589e7673" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="rworkman" diff --git a/perl/perl-Tidy/slack-desc b/perl/perl-Tidy/slack-desc new file mode 100644 index 0000000000000..db700709a7bad --- /dev/null +++ b/perl/perl-Tidy/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-Tidy: perl-Tidy (Parses and beutifies perl source) +perl-Tidy: +perl-Tidy: Perltidy is a tool to indent and reformat perl scripts. +perl-Tidy: It can also write scripts in html format. +perl-Tidy: +perl-Tidy: http://search.cpan.org/dist/Tidy +perl-Tidy: +perl-Tidy: +perl-Tidy: +perl-Tidy: +perl-Tidy: diff --git a/perl/perl-Tie-IxHash/README b/perl/perl-Tie-IxHash/README new file mode 100644 index 0000000000000..5c676e29352a4 --- /dev/null +++ b/perl/perl-Tie-IxHash/README @@ -0,0 +1,6 @@ +If you have been led to believe that associative arrays in perl +don't preserve order, and if you have ever craved for that feature, +this module is for you. Simply declare a "tie" for the hash variable +that you want to be order-preserving, and forget that limitation ever +existed. You can do other nifty things with the tied hash object that +you may be used to doing with arrays, like Push(), Pop() and Splice(). diff --git a/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild b/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild new file mode 100644 index 0000000000000..58e97d7a52eb4 --- /dev/null +++ b/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for perl-Tie-IxHash + +# Copyright 2009-2010 David Somero (dsomero@hotmail.com) Athens,TN USA +# 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-Tie-IxHash +VERSION=${VERSION:-1.22} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Tie-IxHash + +# 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} + +DOCS="Changes README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=vendor +make +make test +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr/ + +( 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 +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f + find . -depth -type d -empty -delete +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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-Tie-IxHash/perl-Tie-IxHash.info b/perl/perl-Tie-IxHash/perl-Tie-IxHash.info new file mode 100644 index 0000000000000..24a08c6c085e9 --- /dev/null +++ b/perl/perl-Tie-IxHash/perl-Tie-IxHash.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Tie-IxHash" +VERSION="1.22" +HOMEPAGE="http://search.cpan.org/dist/Tie-IxHash" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-1.22.tar.gz" +MD5SUM="aae2e62df7e016fd3e8fdaaea71b0b41" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Tie-IxHash/slack-desc b/perl/perl-Tie-IxHash/slack-desc new file mode 100644 index 0000000000000..be02db0726b80 --- /dev/null +++ b/perl/perl-Tie-IxHash/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-Tie-IxHash: perl-Tie-IxHash (implements ordered in-memory associative arrays) +perl-Tie-IxHash: +perl-Tie-IxHash: If you have been led to believe that associative arrays in perl +perl-Tie-IxHash: don't preserve order, and if you have ever craved for that feature, +perl-Tie-IxHash: this module is for you. Simply declare a "tie" for the hash variable +perl-Tie-IxHash: that you want to be order-preserving, and forget that limitation ever +perl-Tie-IxHash: existed. You can do other nifty things with the tied hash object that +perl-Tie-IxHash: you may be used to doing with arrays, like Push(), Pop() and Splice(). +perl-Tie-IxHash: +perl-Tie-IxHash: Homepage: http://search.cpan.org/dist/Tie-IxHash/ +perl-Tie-IxHash: diff --git a/perl/perl-Time-modules/README b/perl/perl-Time-modules/README new file mode 100644 index 0000000000000..9c30b639520dd --- /dev/null +++ b/perl/perl-Time-modules/README @@ -0,0 +1,4 @@ +perl-Time-modules (Time manipulations) + +Includes Time::CTime, Time::DaysInMonth, Time::JulianDay, +Time::ParseDate, Time::Timezone. diff --git a/perl/perl-Time-modules/perl-Time-modules.SlackBuild b/perl/perl-Time-modules/perl-Time-modules.SlackBuild new file mode 100644 index 0000000000000..8ff1616234400 --- /dev/null +++ b/perl/perl-Time-modules/perl-Time-modules.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for perl-Time-modules +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=Time-modules +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-2006.0814} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README CHANGELOG \ + $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-Time-modules/perl-Time-modules.info b/perl/perl-Time-modules/perl-Time-modules.info new file mode 100644 index 0000000000000..e43e3d9c264e5 --- /dev/null +++ b/perl/perl-Time-modules/perl-Time-modules.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Time-modules" +VERSION="2006.0814" +HOMEPAGE="http://search.cpan.org/~muir/Time-modules-2006.0814/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Time-modules-2006.0814.tar.gz" +MD5SUM="790c6739f601b85654fac9ee516b18d8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Time-modules/slack-desc b/perl/perl-Time-modules/slack-desc new file mode 100644 index 0000000000000..08d465a395f95 --- /dev/null +++ b/perl/perl-Time-modules/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-Time-modules: perl-Time-modules (Time manipulations) +perl-Time-modules: +perl-Time-modules: Includes Time::CTime, Time::DaysInMonth, Time::JulianDay, +perl-Time-modules: Time::ParseDate, Time::Timezone. +perl-Time-modules: +perl-Time-modules: +perl-Time-modules: +perl-Time-modules: +perl-Time-modules: +perl-Time-modules: +perl-Time-modules: diff --git a/perl/perl-TimeDate/README b/perl/perl-TimeDate/README new file mode 100644 index 0000000000000..4c417b2f1591e --- /dev/null +++ b/perl/perl-TimeDate/README @@ -0,0 +1,3 @@ +perl-TimeDate provides perl modules for Time & Date manipulation. + +perl-TimeDate is required for perl-MailTools package. diff --git a/perl/perl-TimeDate/perl-TimeDate.SlackBuild b/perl/perl-TimeDate/perl-TimeDate.SlackBuild new file mode 100644 index 0000000000000..c16930782dc9b --- /dev/null +++ b/perl/perl-TimeDate/perl-TimeDate.SlackBuild @@ -0,0 +1,109 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: TimeDate +# Home Page http://search.cpan.org/dist/TimeDate/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net) +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=TimeDate +PRGNAM=perl-TimeDate +VERSION=1.20 +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} + +set -e + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +DOCS="ChangeLog README" +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION + +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# 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/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-TimeDate/perl-TimeDate.info b/perl/perl-TimeDate/perl-TimeDate.info new file mode 100644 index 0000000000000..426110d8a27d6 --- /dev/null +++ b/perl/perl-TimeDate/perl-TimeDate.info @@ -0,0 +1,10 @@ +PRGNAM="perl-TimeDate" +VERSION="1.20" +HOMEPAGE="http://search.cpan.org/dist/TimeDate/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/TimeDate-1.20.tar.gz" +MD5SUM="7da7452bce4c684e4238e6d09b390200" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-TimeDate/slack-desc b/perl/perl-TimeDate/slack-desc new file mode 100644 index 0000000000000..f2383adea081a --- /dev/null +++ b/perl/perl-TimeDate/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-TimeDate: perl-TimeDate (TimeDate) +perl-TimeDate: +perl-TimeDate: +perl-TimeDate: perl-TimeDate provides perl modules for Time and +perl-TimeDate: Date manipulation. +perl-TimeDate: +perl-TimeDate: +perl-TimeDate: Homepage: http://search.cpan.org/dist/TimeDate/ +perl-TimeDate: +perl-TimeDate: +perl-TimeDate: diff --git a/perl/perl-Unicode-String/README b/perl/perl-Unicode-String/README new file mode 100644 index 0000000000000..9097210acd807 --- /dev/null +++ b/perl/perl-Unicode-String/README @@ -0,0 +1,10 @@ +perl-Unicode-String (experimental Perl Unicode modules) + +These are experimental modules to handle various Unicode issues. They +were made before perl included native UTF8 support. + +The current set of modules are: + Unicode::String - represent strings of Unicode chars + Unicode::CharName - look up character names + Unicode::Map8 - mapping tables towards 8-bit char sets +(the Unicode::Map8 module is distributed separately) diff --git a/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild b/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild new file mode 100644 index 0000000000000..1a1fc746470ae --- /dev/null +++ b/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/sh + +# Slackware build script for perl-Unicode-String + +# Written by Mark Grocock <mark@grocock.me.uk> + +PRGNAM=perl-Unicode-String +VERSION=${VERSION:-2.09} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Unicode-String + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes 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-Unicode-String/perl-Unicode-String.info b/perl/perl-Unicode-String/perl-Unicode-String.info new file mode 100644 index 0000000000000..07784ce8328e1 --- /dev/null +++ b/perl/perl-Unicode-String/perl-Unicode-String.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Unicode-String" +VERSION="2.09" +HOMEPAGE="http://search.cpan.org/~gaas/Unicode-String-2.09/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Unicode-String-2.09.tar.gz" +MD5SUM="553e68e603723bf7c631f8701ab0d678" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mark Grocock" +EMAIL="mark@grocock.me.uk" +APPROVED="rworkman" diff --git a/perl/perl-Unicode-String/slack-desc b/perl/perl-Unicode-String/slack-desc new file mode 100644 index 0000000000000..66fc1ecc3c5ff --- /dev/null +++ b/perl/perl-Unicode-String/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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +perl-Unicode-String: perl-Unicode-String (experimental Perl Unicode modules) +perl-Unicode-String: +perl-Unicode-String: These are experimental modules to handle various Unicode issues. They +perl-Unicode-String: were made before perl included native UTF8 support. +perl-Unicode-String: +perl-Unicode-String: Unicode::String - represent strings of Unicode chars +perl-Unicode-String: Unicode::CharName - look up character names +perl-Unicode-String: +perl-Unicode-String: http://search.cpan.org/~gaas/Unicode-String-2.09/ +perl-Unicode-String: +perl-Unicode-String: diff --git a/perl/perl-X10/README b/perl/perl-X10/README new file mode 100644 index 0000000000000..ad91feec56b68 --- /dev/null +++ b/perl/perl-X10/README @@ -0,0 +1,10 @@ +perl-X10 (X10-based home automation control module) + +Includes X10, X10::ActiveHome, X10::Controller, X10::Device, +X10::Event, X10::EventList, X10::FireCracker, X10::Macro, +X10::MacroProc, X10::Network, X10::SchedEvent, X10::Scheduler, +X10::Server, X10::TwoWay. + +Requires: perl-Astro-SunTime, perl-Device-SerialPort, and perl-Time-modules. +All available at SlackBuilds.org. + diff --git a/perl/perl-X10/perl-X10.SlackBuild b/perl/perl-X10/perl-X10.SlackBuild new file mode 100644 index 0000000000000..72317f8fc0296 --- /dev/null +++ b/perl/perl-X10/perl-X10.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware build script for perl-X10 +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=X10 +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.03} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README TODO Changes \ + $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-X10/perl-X10.info b/perl/perl-X10/perl-X10.info new file mode 100644 index 0000000000000..b60ae83810462 --- /dev/null +++ b/perl/perl-X10/perl-X10.info @@ -0,0 +1,10 @@ +PRGNAM="perl-X10" +VERSION="0.03" +HOMEPAGE="http://search.cpan.org/~robf/X10-0.03/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RO/ROBF/X10-0.03.tar.gz" +MD5SUM="056b3d98fab545865148b948de6784c7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-X10/slack-desc b/perl/perl-X10/slack-desc new file mode 100644 index 0000000000000..554fa67240bc3 --- /dev/null +++ b/perl/perl-X10/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-X10: perl-X10 (X10-based home automation control module) +perl-X10: +perl-X10: Includes X10, X10::ActiveHome, X10::Controller, X10::Device, +perl-X10: X10::Event, X10::EventList, X10::FireCracker, X10::Macro, +perl-X10: X10::MacroProc, X10::Network, X10::SchedEvent, X10::Scheduler, +perl-X10: X10::Server, X10::TwoWay. +perl-X10: +perl-X10: +perl-X10: +perl-X10: +perl-X10: diff --git a/perl/perl-XML-XPath/README b/perl/perl-XML-XPath/README new file mode 100644 index 0000000000000..cf148815979c1 --- /dev/null +++ b/perl/perl-XML-XPath/README @@ -0,0 +1,7 @@ +XML::XPath - a set of modules for parsing and evaluating XPath statements. + +DESCRIPTION + This module aims to comply exactly to the XPath specification at + http://www.w3.org/TR/xpath and yet allow extensions to be added + in the form of functions. Modules such as XSLT and XPointer may + need to do this as they support functionality beyond XPath. diff --git a/perl/perl-XML-XPath/perl-XML-XPath.SlackBuild b/perl/perl-XML-XPath/perl-XML-XPath.SlackBuild new file mode 100644 index 0000000000000..a55404e56b72f --- /dev/null +++ b/perl/perl-XML-XPath/perl-XML-XPath.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-XML-XPath + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# 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. + +SRCNAM=XML-XPath +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.13} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/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 || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README TODO \ + $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-XML-XPath/perl-XML-XPath.info b/perl/perl-XML-XPath/perl-XML-XPath.info new file mode 100644 index 0000000000000..fd05645e866a7 --- /dev/null +++ b/perl/perl-XML-XPath/perl-XML-XPath.info @@ -0,0 +1,10 @@ +PRGNAM="perl-XML-XPath" +VERSION="1.13" +HOMEPAGE="http://search.cpan.org/dist/XML-XPath/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-XPath-1.13.tar.gz" +MD5SUM="b5919d9220d83982feb6e2321850c5d7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-XML-XPath/slack-desc b/perl/perl-XML-XPath/slack-desc new file mode 100644 index 0000000000000..d9e9ce84d1c6a --- /dev/null +++ b/perl/perl-XML-XPath/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-XML-XPath: perl-XML-XPath (modules for parsing and evaluating XPath statements) +perl-XML-XPath: +perl-XML-XPath: This module aims to comply exactly to the XPath specification at +perl-XML-XPath: http://www.w3.org/TR/xpath and yet allow extensions to be added +perl-XML-XPath: in the form of functions. Modules such as XSLT and XPointer may +perl-XML-XPath: need to do this as they support functionality beyond XPath. +perl-XML-XPath: +perl-XML-XPath: +perl-XML-XPath: +perl-XML-XPath: +perl-XML-XPath: diff --git a/perl/perl-YAML-Syck/README b/perl/perl-YAML-Syck/README new file mode 100644 index 0000000000000..c21cb0ee6c41b --- /dev/null +++ b/perl/perl-YAML-Syck/README @@ -0,0 +1 @@ +perl-YAML-Syck (Fast, lightweight YAML loader and dumper) diff --git a/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild b/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild new file mode 100644 index 0000000000000..d026423fa0122 --- /dev/null +++ b/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +# Slackware build script for perl-YAML-Syck +# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# 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. + +SRCNAM=YAML-Syck +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.10} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README COPYING COMPATIBILITY Changes \ + $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-Syck/perl-YAML-Syck.info b/perl/perl-YAML-Syck/perl-YAML-Syck.info new file mode 100644 index 0000000000000..f2c0a614941c2 --- /dev/null +++ b/perl/perl-YAML-Syck/perl-YAML-Syck.info @@ -0,0 +1,10 @@ +PRGNAM="perl-YAML-Syck" +VERSION="1.10" +HOMEPAGE="http://search.cpan.org/~avar/YAML-Syck-1.10/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AV/AVAR/YAML-Syck-1.10.tar.gz" +MD5SUM="893907308ab9ba4302e74aca61c12297" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-YAML-Syck/slack-desc b/perl/perl-YAML-Syck/slack-desc new file mode 100644 index 0000000000000..16220b633000f --- /dev/null +++ b/perl/perl-YAML-Syck/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-Syck: perl-YAML-Syck (Fast, lightweight YAML loader and dumper) +perl-YAML-Syck: +perl-YAML-Syck: +perl-YAML-Syck: +perl-YAML-Syck: +perl-YAML-Syck: +perl-YAML-Syck: +perl-YAML-Syck: +perl-YAML-Syck: +perl-YAML-Syck: +perl-YAML-Syck: diff --git a/perl/perl-cairo/README b/perl/perl-cairo/README new file mode 100644 index 0000000000000..7abd9dc7d8e62 --- /dev/null +++ b/perl/perl-cairo/README @@ -0,0 +1,5 @@ +Cairo (perl module) + +Perl bindings to the cairo graphics library. + +This requires perl-glib and perl-test-number-delta. diff --git a/perl/perl-cairo/perl-cairo.SlackBuild b/perl/perl-cairo/perl-cairo.SlackBuild new file mode 100644 index 0000000000000..0e169e09e4c7a --- /dev/null +++ b/perl/perl-cairo/perl-cairo.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +# Slackware build script for perl-cairo + +# (C) 2007 Michael Wagner <lapinours@web.de> +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-cairo +VERSION=${VERSION:-1.061} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Cairo + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog LICENSE NEWS README TODO $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-cairo/perl-cairo.info b/perl/perl-cairo/perl-cairo.info new file mode 100644 index 0000000000000..a335f013338db --- /dev/null +++ b/perl/perl-cairo/perl-cairo.info @@ -0,0 +1,10 @@ +PRGNAM="perl-cairo" +VERSION="1.061" +HOMEPAGE="http://search.cpan.org/dist/Cairo/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Cairo-1.061.tar.gz" +MD5SUM="08cd5e847f61858651fc4de769066e88" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="dsomero" diff --git a/perl/perl-cairo/slack-desc b/perl/perl-cairo/slack-desc new file mode 100644 index 0000000000000..849df3aa84c30 --- /dev/null +++ b/perl/perl-cairo/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-cairo: Cairo (perl module) +perl-cairo: +perl-cairo: Perl bindings to the cairo graphics library. +perl-cairo: +perl-cairo: Homepage: http://search.cpan.org/dist/Cairo/ +perl-cairo: +perl-cairo: +perl-cairo: +perl-cairo: +perl-cairo: +perl-cairo: diff --git a/perl/perl-class-accessor/README b/perl/perl-class-accessor/README new file mode 100644 index 0000000000000..b63765b6af22f --- /dev/null +++ b/perl/perl-class-accessor/README @@ -0,0 +1 @@ +This perl module automagically generates accessors/mutators for your class. diff --git a/perl/perl-class-accessor/perl-class-accessor.SlackBuild b/perl/perl-class-accessor/perl-class-accessor.SlackBuild new file mode 100644 index 0000000000000..f1da5d1c1a9b8 --- /dev/null +++ b/perl/perl-class-accessor/perl-class-accessor.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for perl-class-accessor + +# Written by Pablo Santamaria (pablosantamaria@gmail.com) + +PRGNAM=perl-class-accessor +SRCNAM=Class-Accessor +VERSION=${VERSION:-0.34} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +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 + +( 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 +) + +# Ramove perlocal.pod, .packlist and .bs from $PKG +( cd $PKG + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rmdir {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes INSTALL 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-class-accessor/perl-class-accessor.info b/perl/perl-class-accessor/perl-class-accessor.info new file mode 100644 index 0000000000000..cff44933b3d9a --- /dev/null +++ b/perl/perl-class-accessor/perl-class-accessor.info @@ -0,0 +1,10 @@ +PRGNAM="perl-class-accessor" +VERSION="0.34" +HOMEPAGE="http://search.cpan.org/~kasei/Class-Accessor-0.34/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/K/KA/KASEI/Class-Accessor-0.34.tar.gz" +MD5SUM="0d9640d237a13276145f7e44b4855b89" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Pablo Santamaria" +EMAIL="pablosantamaria@gmail.com" +APPROVED="michiel" diff --git a/perl/perl-class-accessor/slack-desc b/perl/perl-class-accessor/slack-desc new file mode 100644 index 0000000000000..4b3cc830950e2 --- /dev/null +++ b/perl/perl-class-accessor/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-class-accessor: perl-class-accessor (Automated accessor generation) +perl-class-accessor: +perl-class-accessor: This perl module automagically generates accessors/mutators for your +perl-class-accessor: class. +perl-class-accessor: +perl-class-accessor: +perl-class-accessor: +perl-class-accessor: +perl-class-accessor: +perl-class-accessor: +perl-class-accessor: diff --git a/perl/perl-digest-hmac/README b/perl/perl-digest-hmac/README new file mode 100644 index 0000000000000..725f14d523f50 --- /dev/null +++ b/perl/perl-digest-hmac/README @@ -0,0 +1,11 @@ +Digest::HMAC is a perl module used for message integrity checks between two +parties that share a secret key, and works in combination with some other +Digest algorithm, usually MD5 or SHA-1. The HMAC mechanism is described +in RFC 2104. + +The Digest::HMAC module follow the common Digest:: interface, but the +constructor takes the secret key and the name of some other simple Digest:: +module as argument. + +It depends on: perl-digest-sha1 (available from Slackbuilds.org) + diff --git a/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild b/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild new file mode 100644 index 0000000000000..cd25d703d69f0 --- /dev/null +++ b/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware build script for perl-digest-hmac + +# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it> +# 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-digest-hmac +SRC_PRGNAM=Digest-HMAC +VERSION=${VERSION:-1.02} +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} + +DOCFILES="Changes README" + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +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, .packlist and .bs from $PKG +( for i in perllocal.pod .packlist *.bs; do + find $PKG -name "$i" -exec rm -rf {} \; + done +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +# compress man pages +( 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 $DOCFILES $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-digest-hmac/perl-digest-hmac.info b/perl/perl-digest-hmac/perl-digest-hmac.info new file mode 100644 index 0000000000000..0dd7e8594f941 --- /dev/null +++ b/perl/perl-digest-hmac/perl-digest-hmac.info @@ -0,0 +1,10 @@ +PRGNAM="perl-digest-hmac" +VERSION="1.02" +HOMEPAGE="http://search.cpan.org/dist/Digest-HMAC/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-1.02.tar.gz" +MD5SUM="64c4b247d83cd64ec32aa22bf58a709b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="dsomero" diff --git a/perl/perl-digest-hmac/slack-desc b/perl/perl-digest-hmac/slack-desc new file mode 100644 index 0000000000000..ff3353623153d --- /dev/null +++ b/perl/perl-digest-hmac/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-digest-hmac: perl-digest-hmac (Create standard message integrity checks) +perl-digest-hmac: +perl-digest-hmac: Digest::HMAC is used for message integrity checks between two +perl-digest-hmac: parties that share a secret key, and works in combination +perl-digest-hmac: with some other Digest algorithm, usually MD5 or SHA-1. +perl-digest-hmac: The HMAC mechanism is described in RFC 2104. +perl-digest-hmac: +perl-digest-hmac: +perl-digest-hmac: +perl-digest-hmac: Homepage: http://search.cpan.org/dist/Digest-HMAC +perl-digest-hmac: diff --git a/perl/perl-digest-sha1/README b/perl/perl-digest-sha1/README new file mode 100644 index 0000000000000..db2c26eec0635 --- /dev/null +++ b/perl/perl-digest-sha1/README @@ -0,0 +1,6 @@ +perl-digest-sha1 - Perl interface to the SHA-1 algorithm + +It allows you to use the NIST SHA-1 message digest algorithm +from within Perl programs. The algorithm takes as input a +message of arbitrary length and produces as output a 160-bit +"fingerprint" or "message digest" of the input. diff --git a/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild b/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild new file mode 100644 index 0000000000000..096b7b8b86359 --- /dev/null +++ b/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild @@ -0,0 +1,105 @@ +#!/bin/sh + +# Slackware build script for perl-digest-sha1 + +# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it> +# 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-digest-sha1 +VERSION=${VERSION:-2.13} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Digest-SHA1 + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCFILES="fip180-1.* Changes README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +# Remove perlocal.pod, .packlist and .bs from $PKG +( for i in perllocal.pod .packlist *.bs; do + find $PKG -name "$i" -exec rm -rf {} \; + done +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +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/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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCFILES $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-digest-sha1/perl-digest-sha1.info b/perl/perl-digest-sha1/perl-digest-sha1.info new file mode 100644 index 0000000000000..a36ffdca7d1ad --- /dev/null +++ b/perl/perl-digest-sha1/perl-digest-sha1.info @@ -0,0 +1,10 @@ +PRGNAM="perl-digest-sha1" +VERSION="2.13" +HOMEPAGE="http://search.cpan.org/dist/Digest-SHA1/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.13.tar.gz" +MD5SUM="bd22388f268434f2b24f64e28bf1aa35" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="rworkman" diff --git a/perl/perl-digest-sha1/slack-desc b/perl/perl-digest-sha1/slack-desc new file mode 100644 index 0000000000000..8280d4722b4b5 --- /dev/null +++ b/perl/perl-digest-sha1/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-digest-sha1: perl-digest-sha1 (Perl interface to the SHA-1 algorithm) +perl-digest-sha1: +perl-digest-sha1: It allows you to use the NIST SHA-1 message digest algorithm +perl-digest-sha1: from within Perl programs. The algorithm takes as input a +perl-digest-sha1: message of arbitrary length and produces as output a 160-bit +perl-digest-sha1: "fingerprint" or "message digest" of the input. +perl-digest-sha1: +perl-digest-sha1: Homepage: http://search.cpan.org/dist/Digest-SHA1 +perl-digest-sha1: +perl-digest-sha1: +perl-digest-sha1: diff --git a/perl/perl-event/README b/perl/perl-event/README new file mode 100644 index 0000000000000..0978a46591816 --- /dev/null +++ b/perl/perl-event/README @@ -0,0 +1,5 @@ +The Event module provide a central facility to watch for various +types of events and invoke a callback when these events occur. The +idea is to delay the handling of events so that they may be +dispatched in priority order when it is safe for callbacks to +execute. diff --git a/perl/perl-event/perl-event.SlackBuild b/perl/perl-event/perl-event.SlackBuild new file mode 100644 index 0000000000000..310df6453b66a --- /dev/null +++ b/perl/perl-event/perl-event.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh + +# Slackware build script for perl-event + +# Written by Luis Henrique <lmello.009@gmail.com> + +PRGNAM=perl-event +VERSION=${VERSION:-1.13} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/Event-$VERSION.tar.gz +cd Event-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL +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 + +mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ANNOUNCE ChangeLog INSTALL MANIFEST MANIFEST.SKIP README TODO \ + $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-event/perl-event.info b/perl/perl-event/perl-event.info new file mode 100644 index 0000000000000..52a5f91d6c4ed --- /dev/null +++ b/perl/perl-event/perl-event.info @@ -0,0 +1,10 @@ +PRGNAM="perl-event" +VERSION="1.13" +HOMEPAGE="http://search.cpan.org/~jprit/Event-1.13" +DOWNLOAD="http://cpan.yahoo.com/authors/id/JPRIT/Event-1.13.tar.gz" +MD5SUM="88cf5bb6b4b06e016072a5ff2ff8fa1a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Luis Henrique" +EMAIL="lmello.009@gmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-event/slack-desc b/perl/perl-event/slack-desc new file mode 100644 index 0000000000000..2c91277b787bf --- /dev/null +++ b/perl/perl-event/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-event: perl-event (Event loop processing) +perl-event: +perl-event: The Event module provide a central facility to watch for various +perl-event: types of events and invoke a callback when these events occur. The +perl-event: idea is to delay the handling of events so that they may be +perl-event: dispatched in priority order when it is safe for callbacks to +perl-event: execute. +perl-event: +perl-event: +perl-event: +perl-event: diff --git a/perl/perl-extutils-depends/README b/perl/perl-extutils-depends/README new file mode 100644 index 0000000000000..eb5930e54a1ff --- /dev/null +++ b/perl/perl-extutils-depends/README @@ -0,0 +1,6 @@ +ExtUtils::Depends (perl module) + +This module tries to make it easy to build Perl extensions that use +functions and typemaps provided by other perl extensions. This means +that a perl extension is treated like a shared library that provides +also a C and an XS interface besides the perl one. diff --git a/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild b/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild new file mode 100644 index 0000000000000..3c0ec0587e0b3 --- /dev/null +++ b/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/sh + +# Slackware build script for perl-extutils-depends + +# (C) 2007 Michael Wagner <lapinours@web.de> +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-extutils-depends +VERSION=${VERSION:-0.302} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=ExtUtils-Depends + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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 . + +perl Makefile.PL || exit 1 +make +make install INSTALLDIRS=vendor DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share +gzip -9 $PKG/usr/man/man3/* 2> /dev/null + +# 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 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-extutils-depends/perl-extutils-depends.info b/perl/perl-extutils-depends/perl-extutils-depends.info new file mode 100644 index 0000000000000..6eb2961fa6fbd --- /dev/null +++ b/perl/perl-extutils-depends/perl-extutils-depends.info @@ -0,0 +1,10 @@ +PRGNAM="perl-extutils-depends" +VERSION="0.302" +HOMEPAGE="http://search.cpan.org/dist/ExtUtils-Depends/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/ExtUtils-Depends-0.302.tar.gz" +MD5SUM="db46426f0599668da95c21b53b532508" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="dsomero" diff --git a/perl/perl-extutils-depends/slack-desc b/perl/perl-extutils-depends/slack-desc new file mode 100644 index 0000000000000..be98ca91bb529 --- /dev/null +++ b/perl/perl-extutils-depends/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-extutils-depends: ExtUtils::Depends (perl module) +perl-extutils-depends: +perl-extutils-depends: This module tries to make it easy to build Perl extensions that use +perl-extutils-depends: functions and typemaps provided by other perl extensions. This means +perl-extutils-depends: that a perl extension is treated like a shared library that provides a +perl-extutils-depends: C and an XS interface besides the perl one. +perl-extutils-depends: +perl-extutils-depends: Homepage: http://search.cpan.org/dist/ExtUtils-Depends/ +perl-extutils-depends: +perl-extutils-depends: +perl-extutils-depends: diff --git a/perl/perl-extutils-pkgconfig/README b/perl/perl-extutils-pkgconfig/README new file mode 100644 index 0000000000000..32fbdae16cd91 --- /dev/null +++ b/perl/perl-extutils-pkgconfig/README @@ -0,0 +1,6 @@ +ExtUtils::PkgConfig (perl module) + +ExtUtils::PkgConfig is a very simplistic interface to pkg-config, +intended for use in the Makefile.PL of perl extensions which bind +libraries that pkg-config knows. It is really just boilerplate code +that you would've written yourself. diff --git a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild new file mode 100644 index 0000000000000..ec3cfa6b8bf15 --- /dev/null +++ b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/sh + +# Slackware build script for perl-extutils-pkgconfig + +# (C) 2007 Michael Wagner <lapinours@web.de> +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-extutils-pkgconfig +VERSION=${VERSION:-1.12} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=ExtUtils-PkgConfig + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +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 . + +perl Makefile.PL +make +make install INSTALLDIRS=vendor DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share +gzip -9 $PKG/usr/man/man3/* 2> /dev/null + +# 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 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-extutils-pkgconfig/perl-extutils-pkgconfig.info b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info new file mode 100644 index 0000000000000..e5751205ef3f5 --- /dev/null +++ b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info @@ -0,0 +1,10 @@ +PRGNAM="perl-extutils-pkgconfig" +VERSION="1.12" +HOMEPAGE="http://search.cpan.org/dist/ExtUtils-PkgConfig/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/ExtUtils-PkgConfig-1.12.tar.gz" +MD5SUM="8fc5c0b30cfda2048ec87ae418cc3508" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="dsomero" diff --git a/perl/perl-extutils-pkgconfig/slack-desc b/perl/perl-extutils-pkgconfig/slack-desc new file mode 100644 index 0000000000000..eab737d7a040c --- /dev/null +++ b/perl/perl-extutils-pkgconfig/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-extutils-pkgconfig: ExtUtils::PkgConfig (perl module) +perl-extutils-pkgconfig: +perl-extutils-pkgconfig: ExtUtils::PkgConfig is a very simplistic interface to pkg-config, +perl-extutils-pkgconfig: intended for use in the Makefile.PL of perl extensions which bind +perl-extutils-pkgconfig: libraries that pkg-config knows. It is really just boilerplate code +perl-extutils-pkgconfig: that you would've written yourself. +perl-extutils-pkgconfig: +perl-extutils-pkgconfig: Homepage: http://search.cpan.org/dist/ExtUtils-PkgConfig/ +perl-extutils-pkgconfig: +perl-extutils-pkgconfig: +perl-extutils-pkgconfig: diff --git a/perl/perl-file-path-expand/README b/perl/perl-file-path-expand/README new file mode 100644 index 0000000000000..961355caf12a0 --- /dev/null +++ b/perl/perl-file-path-expand/README @@ -0,0 +1,3 @@ +File::Path::Expand expands user directories in filenames. +For the simple case it's no more complex than s{^~/}{$HOME/}, +but for other cases it consults getpwent and does the right thing. diff --git a/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild b/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild new file mode 100644 index 0000000000000..03975196b5590 --- /dev/null +++ b/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for perl-file-path-expand + +# Written by Pablo Santamaria (pablosantamaria@gmail.com) + +PRGNAM=perl-file-path-expand +SRCNAM=File-Path-Expand +VERSION=${VERSION:-1.02} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +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 + +( 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 +) + +# Remove perlocal.pod, .packlist and .bs from $PKG +( cd $PKG + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +find $PKG -depth -type d -empty -exec rmdir {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes $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-file-path-expand/perl-file-path-expand.info b/perl/perl-file-path-expand/perl-file-path-expand.info new file mode 100644 index 0000000000000..38d94f7f42fab --- /dev/null +++ b/perl/perl-file-path-expand/perl-file-path-expand.info @@ -0,0 +1,10 @@ +PRGNAM="perl-file-path-expand" +VERSION="1.02" +HOMEPAGE="http://search.cpan.org/~rclamp/File-Path-Expand-1.02/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/File-Path-Expand-1.02.tar.gz" +MD5SUM="742aa40a4ffb26d14de01192764bd7ab" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Pablo Santamaria" +EMAIL="pablosantamaria@gmail.com" +APPROVED="michiel" diff --git a/perl/perl-file-path-expand/slack-desc b/perl/perl-file-path-expand/slack-desc new file mode 100644 index 0000000000000..066f26980ce59 --- /dev/null +++ b/perl/perl-file-path-expand/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-file-path-expand: perl-file-path-expand (expand filenames) +perl-file-path-expand: +perl-file-path-expand: File::Path::Expand expands user directories in filenames. +perl-file-path-expand: For the simple case it's no more complex than s{^~/}{$HOME/}, but +perl-file-path-expand: or other cases it consults getpwent and does the right thing. +perl-file-path-expand: +perl-file-path-expand: +perl-file-path-expand: +perl-file-path-expand: +perl-file-path-expand: +perl-file-path-expand: diff --git a/perl/perl-glib/README b/perl/perl-glib/README new file mode 100644 index 0000000000000..9e9655b2e79f5 --- /dev/null +++ b/perl/perl-glib/README @@ -0,0 +1,6 @@ +Glib (perl module) + +This module provides perl access to Glib and GLib's GObject libraries. + +This requires perl-extutils-depends and perl-extutils-pkgconfig at +build-time. diff --git a/perl/perl-glib/perl-glib.SlackBuild b/perl/perl-glib/perl-glib.SlackBuild new file mode 100644 index 0000000000000..fa3ffad91505a --- /dev/null +++ b/perl/perl-glib/perl-glib.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/sh + +# Slackware build script for perl-glib + +# (C) 2007 Michael Wagner <lapinours@web.de> +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-glib +VERSION=${VERSION:-1.223} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Glib + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog* LICENSE NEWS README TODO \ + $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-glib/perl-glib.info b/perl/perl-glib/perl-glib.info new file mode 100644 index 0000000000000..4295d1b88c389 --- /dev/null +++ b/perl/perl-glib/perl-glib.info @@ -0,0 +1,10 @@ +PRGNAM="perl-glib" +VERSION="1.223" +HOMEPAGE="http://search.cpan.org/dist/Glib/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Glib-1.223.tar.gz" +MD5SUM="cfdeaa8c95448f86c30b505e4701abf1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="dsomero" diff --git a/perl/perl-glib/slack-desc b/perl/perl-glib/slack-desc new file mode 100644 index 0000000000000..1e4189fd10cb0 --- /dev/null +++ b/perl/perl-glib/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-glib: Glib (perl module) +perl-glib: +perl-glib: This module provides perl access to Glib and GLib's GObject libraries. +perl-glib: +perl-glib: Homepage: http://search.cpan.org/dist/Glib/ +perl-glib: +perl-glib: +perl-glib: +perl-glib: +perl-glib: +perl-glib: diff --git a/perl/perl-gnome2-canvas/README b/perl/perl-gnome2-canvas/README new file mode 100644 index 0000000000000..7ae36cdf6e020 --- /dev/null +++ b/perl/perl-gnome2-canvas/README @@ -0,0 +1,3 @@ +Perl bindings for libgnomecanvas. + +This requires perl-gtk2 and libgnomecanvas. diff --git a/perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild b/perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild new file mode 100644 index 0000000000000..606641bf40038 --- /dev/null +++ b/perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for perl-gnome2-canvas + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-gnome2-canvas +VERSION=${VERSION:-1.002} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Gnome2-Canvas + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog LICENSE NEWS README TODO $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-gnome2-canvas/perl-gnome2-canvas.info b/perl/perl-gnome2-canvas/perl-gnome2-canvas.info new file mode 100644 index 0000000000000..0813fbea62929 --- /dev/null +++ b/perl/perl-gnome2-canvas/perl-gnome2-canvas.info @@ -0,0 +1,10 @@ +PRGNAM="perl-gnome2-canvas" +VERSION="1.002" +HOMEPAGE="http://search.cpan.org/dist/Gnome2-Canvas/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-Canvas-1.002.tar.gz" +MD5SUM="93405a987ba4bbd03c2f91592b88f5cb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="dsomero" diff --git a/perl/perl-gnome2-canvas/slack-desc b/perl/perl-gnome2-canvas/slack-desc new file mode 100644 index 0000000000000..bbbb28c1f101d --- /dev/null +++ b/perl/perl-gnome2-canvas/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-gnome2-canvas: Gnome2::Canvas (perl module) +perl-gnome2-canvas: +perl-gnome2-canvas: Perl bindings for libgnomecanvas. +perl-gnome2-canvas: +perl-gnome2-canvas: Homepage: http://search.cpan.org/dist/Gnome2-Canvas/ +perl-gnome2-canvas: +perl-gnome2-canvas: +perl-gnome2-canvas: +perl-gnome2-canvas: +perl-gnome2-canvas: +perl-gnome2-canvas: diff --git a/perl/perl-gnome2-gconf/README b/perl/perl-gnome2-gconf/README new file mode 100644 index 0000000000000..4700816fb74fe --- /dev/null +++ b/perl/perl-gnome2-gconf/README @@ -0,0 +1,3 @@ +Perl bindings for GConf. + +This requires perl-glib and GConf. diff --git a/perl/perl-gnome2-gconf/perl-gnome2-gconf.SlackBuild b/perl/perl-gnome2-gconf/perl-gnome2-gconf.SlackBuild new file mode 100644 index 0000000000000..2edf5e8c96ec4 --- /dev/null +++ b/perl/perl-gnome2-gconf/perl-gnome2-gconf.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for perl-gnome2-gconf + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-gnome2-gconf +VERSION=${VERSION:-1.044} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Gnome2-GConf + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHOR ChangeLog NEWS README examples/ $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-gnome2-gconf/perl-gnome2-gconf.info b/perl/perl-gnome2-gconf/perl-gnome2-gconf.info new file mode 100644 index 0000000000000..deddf1b00ce00 --- /dev/null +++ b/perl/perl-gnome2-gconf/perl-gnome2-gconf.info @@ -0,0 +1,10 @@ +PRGNAM="perl-gnome2-gconf" +VERSION="1.044" +HOMEPAGE="http://search.cpan.org/dist/Gnome2-GConf/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-GConf-1.044.tar.gz" +MD5SUM="ea386003b18f067524833b0eeb271330" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-gnome2-gconf/slack-desc b/perl/perl-gnome2-gconf/slack-desc new file mode 100644 index 0000000000000..e74f76b7af06e --- /dev/null +++ b/perl/perl-gnome2-gconf/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-gnome2-gconf: Gnome2::GConf (perl module) +perl-gnome2-gconf: +perl-gnome2-gconf: Perl bindings for GConf. +perl-gnome2-gconf: +perl-gnome2-gconf: Homepage: http://search.cpan.org/dist/Gnome2-GConf/ +perl-gnome2-gconf: +perl-gnome2-gconf: +perl-gnome2-gconf: +perl-gnome2-gconf: +perl-gnome2-gconf: +perl-gnome2-gconf: diff --git a/perl/perl-gnome2-vfs/README b/perl/perl-gnome2-vfs/README new file mode 100644 index 0000000000000..cfc0a67cb6321 --- /dev/null +++ b/perl/perl-gnome2-vfs/README @@ -0,0 +1,3 @@ +Perl bindings for gnome-vfs. + +This requires perl-glib and gnome-vfs. diff --git a/perl/perl-gnome2-vfs/perl-gnome2-vfs.SlackBuild b/perl/perl-gnome2-vfs/perl-gnome2-vfs.SlackBuild new file mode 100644 index 0000000000000..41bf856a84bd9 --- /dev/null +++ b/perl/perl-gnome2-vfs/perl-gnome2-vfs.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for perl-gnome2-vfs + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-gnome2-vfs +VERSION=${VERSION:-1.081} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Gnome2-VFS + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog LICENSE NEWS README examples/ $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-gnome2-vfs/perl-gnome2-vfs.info b/perl/perl-gnome2-vfs/perl-gnome2-vfs.info new file mode 100644 index 0000000000000..56fbdb1fc8a1b --- /dev/null +++ b/perl/perl-gnome2-vfs/perl-gnome2-vfs.info @@ -0,0 +1,10 @@ +PRGNAM="perl-gnome2-vfs" +VERSION="1.081" +HOMEPAGE="http://search.cpan.org/dist/Gnome2-VFS/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-VFS-1.081.tar.gz" +MD5SUM="3d220cbbe9f1ebc78d7047593f9cd633" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="dsomero" diff --git a/perl/perl-gnome2-vfs/slack-desc b/perl/perl-gnome2-vfs/slack-desc new file mode 100644 index 0000000000000..6f7b408ceb91d --- /dev/null +++ b/perl/perl-gnome2-vfs/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-gnome2-vfs: Gnome2::VFS (perl module) +perl-gnome2-vfs: +perl-gnome2-vfs: Perl bindings for gnome-vfs. +perl-gnome2-vfs: +perl-gnome2-vfs: Homepage: http://search.cpan.org/dist/Gnome2-VFS/ +perl-gnome2-vfs: +perl-gnome2-vfs: +perl-gnome2-vfs: +perl-gnome2-vfs: +perl-gnome2-vfs: +perl-gnome2-vfs: diff --git a/perl/perl-gnome2-wnck/README b/perl/perl-gnome2-wnck/README new file mode 100644 index 0000000000000..9fbafd22b5b1e --- /dev/null +++ b/perl/perl-gnome2-wnck/README @@ -0,0 +1,3 @@ +Perl bindings to the Window Navigator Construction Kit (libwnck). + +This requires perl-gtk2. diff --git a/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild b/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild new file mode 100644 index 0000000000000..f6a87ba03c8ad --- /dev/null +++ b/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for perl-gnome2-wnck + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-gnome2-wnck +VERSION=${VERSION:-0.16} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Gnome2-Wnck + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog LICENSE NEWS README copyright* $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-gnome2-wnck/perl-gnome2-wnck.info b/perl/perl-gnome2-wnck/perl-gnome2-wnck.info new file mode 100644 index 0000000000000..0157047d0f410 --- /dev/null +++ b/perl/perl-gnome2-wnck/perl-gnome2-wnck.info @@ -0,0 +1,10 @@ +PRGNAM="perl-gnome2-wnck" +VERSION="0.16" +HOMEPAGE="http://search.cpan.org/dist/Gnome2-Wnck/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-Wnck-0.16.tar.gz" +MD5SUM="439f4569ffd7af96ef1d3feaab23760e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-gnome2-wnck/slack-desc b/perl/perl-gnome2-wnck/slack-desc new file mode 100644 index 0000000000000..a45ed8f73e2fd --- /dev/null +++ b/perl/perl-gnome2-wnck/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-gnome2-wnck: Gnome2::Wnck (perl module) +perl-gnome2-wnck: +perl-gnome2-wnck: Perl bindings to the Window Navigator Construction Kit (libwnck). +perl-gnome2-wnck: +perl-gnome2-wnck: Homepage: http://search.cpan.org/dist/Gnome2-Wnck/ +perl-gnome2-wnck: +perl-gnome2-wnck: +perl-gnome2-wnck: +perl-gnome2-wnck: +perl-gnome2-wnck: +perl-gnome2-wnck: diff --git a/perl/perl-gnome2/README b/perl/perl-gnome2/README new file mode 100644 index 0000000000000..ccefd8bb54431 --- /dev/null +++ b/perl/perl-gnome2/README @@ -0,0 +1,3 @@ +Perl bindings to the 2.x series of the GNOME libraries. + +This requires perl-gnome2-canvas, perl-gnome2-vfs, and libgnomeui. diff --git a/perl/perl-gnome2/perl-gnome2.SlackBuild b/perl/perl-gnome2/perl-gnome2.SlackBuild new file mode 100644 index 0000000000000..bade25bae1190 --- /dev/null +++ b/perl/perl-gnome2/perl-gnome2.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# Slackware build script for perl-gnome2 + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-gnome2 +VERSION=${VERSION:-1.042} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Gnome2 + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog LICENSE NEWS README TODO examples/ \ + $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-gnome2/perl-gnome2.info b/perl/perl-gnome2/perl-gnome2.info new file mode 100644 index 0000000000000..01f76cd125c6b --- /dev/null +++ b/perl/perl-gnome2/perl-gnome2.info @@ -0,0 +1,10 @@ +PRGNAM="perl-gnome2" +VERSION="1.042" +HOMEPAGE="http://search.cpan.org/dist/Gnome2/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-1.042.tar.gz" +MD5SUM="eb7b624114e45e54e022a633ffc1cce6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="dsomero" diff --git a/perl/perl-gnome2/slack-desc b/perl/perl-gnome2/slack-desc new file mode 100644 index 0000000000000..0fdf55de326a1 --- /dev/null +++ b/perl/perl-gnome2/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-gnome2: Gnome2 (perl module) +perl-gnome2: +perl-gnome2: Perl bindings to the 2.x series of the GNOME libraries. +perl-gnome2: +perl-gnome2: Homepage: http://search.cpan.org/dist/Gnome2/ +perl-gnome2: +perl-gnome2: +perl-gnome2: +perl-gnome2: +perl-gnome2: +perl-gnome2: diff --git a/perl/perl-goo-canvas/README b/perl/perl-goo-canvas/README new file mode 100644 index 0000000000000..2bb56b25c6993 --- /dev/null +++ b/perl/perl-goo-canvas/README @@ -0,0 +1,3 @@ +Perl bindings to the goocanvas. + +This requires perl-gtk2 and goocanvas. diff --git a/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild b/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild new file mode 100644 index 0000000000000..36cec0bc5bb9c --- /dev/null +++ b/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-goo-canvas + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-goo-canvas +VERSION=${VERSION:-0.06} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Goo-Canvas + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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 + +mv $PKG/usr/share/man/man1 $PKG/usr/man +rm -rf $PKG/usr/share + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README demo/ $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-goo-canvas/perl-goo-canvas.info b/perl/perl-goo-canvas/perl-goo-canvas.info new file mode 100644 index 0000000000000..513df821c4324 --- /dev/null +++ b/perl/perl-goo-canvas/perl-goo-canvas.info @@ -0,0 +1,10 @@ +PRGNAM="perl-goo-canvas" +VERSION="0.06" +HOMEPAGE="http://search.cpan.org/dist/Goo-Canvas/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/Y/YE/YEWENBIN/Goo-Canvas-0.06.tar.gz" +MD5SUM="7dfe0be8c17bfd641d18384d4fd8fb23" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-goo-canvas/slack-desc b/perl/perl-goo-canvas/slack-desc new file mode 100644 index 0000000000000..527ef4f0c745c --- /dev/null +++ b/perl/perl-goo-canvas/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-goo-canvas: Goo::Canvas (perl module) +perl-goo-canvas: +perl-goo-canvas: Perl bindings to the goocanvas. +perl-goo-canvas: +perl-goo-canvas: Homepage: http://search.cpan.org/dist/Goo-Canvas/ +perl-goo-canvas: +perl-goo-canvas: +perl-goo-canvas: +perl-goo-canvas: +perl-goo-canvas: +perl-goo-canvas: diff --git a/perl/perl-gtk2-imageview/README b/perl/perl-gtk2-imageview/README new file mode 100644 index 0000000000000..b08b15df0417e --- /dev/null +++ b/perl/perl-gtk2-imageview/README @@ -0,0 +1,3 @@ +Perl bindings to the GtkImageView image viewer widget. + +This requires perl-gtk2 and gtkimageview. diff --git a/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild b/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild new file mode 100644 index 0000000000000..6452a7af7ec69 --- /dev/null +++ b/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild @@ -0,0 +1,105 @@ +#!/bin/sh + +# Slackware build script for perl-gtk2-imageview + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-gtk2-imageview +VERSION=${VERSION:-0.05} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Gtk2-ImageView + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING.LESSER INSTALL README examples/ \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION -type d -exec chmod 0755 {} \; + +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-gtk2-imageview/perl-gtk2-imageview.info b/perl/perl-gtk2-imageview/perl-gtk2-imageview.info new file mode 100644 index 0000000000000..8d7a071f43970 --- /dev/null +++ b/perl/perl-gtk2-imageview/perl-gtk2-imageview.info @@ -0,0 +1,10 @@ +PRGNAM="perl-gtk2-imageview" +VERSION="0.05" +HOMEPAGE="http://search.cpan.org/dist/Gtk2-ImageView/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RA/RATCLIFFE/Gtk2-ImageView-0.05.tar.gz" +MD5SUM="7c961071b347b6a64b8351fdd87ec4c0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="dsomero" diff --git a/perl/perl-gtk2-imageview/slack-desc b/perl/perl-gtk2-imageview/slack-desc new file mode 100644 index 0000000000000..31e96da837816 --- /dev/null +++ b/perl/perl-gtk2-imageview/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-gtk2-imageview: Gtk2::ImageView (perl module) +perl-gtk2-imageview: +perl-gtk2-imageview: Perl bindings to the GtkImageView image viewer widget. +perl-gtk2-imageview: +perl-gtk2-imageview: Homepage: http://search.cpan.org/dist/Gtk2-ImageView/ +perl-gtk2-imageview: +perl-gtk2-imageview: +perl-gtk2-imageview: +perl-gtk2-imageview: +perl-gtk2-imageview: +perl-gtk2-imageview: diff --git a/perl/perl-gtk2/README b/perl/perl-gtk2/README new file mode 100644 index 0000000000000..d828401a24da0 --- /dev/null +++ b/perl/perl-gtk2/README @@ -0,0 +1,4 @@ +Perl bindings to the 2.x series of the Gtk+ graphical user interface +library. + +This requires perl-glib and perl-pango. diff --git a/perl/perl-gtk2/perl-gtk2.SlackBuild b/perl/perl-gtk2/perl-gtk2.SlackBuild new file mode 100644 index 0000000000000..b73cd751edeed --- /dev/null +++ b/perl/perl-gtk2/perl-gtk2.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/sh + +# Slackware build script for perl-gtk2 + +# (C) 2007 Michael Wagner <lapinours@web.de> +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-gtk2 +VERSION=${VERSION:-1.222} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Gtk2 + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog* LICENSE MAINTAINERS NEWS README TODO copyright* examples/ \ + $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-gtk2/perl-gtk2.info b/perl/perl-gtk2/perl-gtk2.info new file mode 100644 index 0000000000000..9b9c082e164fd --- /dev/null +++ b/perl/perl-gtk2/perl-gtk2.info @@ -0,0 +1,10 @@ +PRGNAM="perl-gtk2" +VERSION="1.222" +HOMEPAGE="http://gtk2-perl.sourceforge.net/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gtk2-1.222.tar.gz" +MD5SUM="8f8a170b33dc2cf4e69769e97c05185a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="dsomero" diff --git a/perl/perl-gtk2/slack-desc b/perl/perl-gtk2/slack-desc new file mode 100644 index 0000000000000..acbf733264e98 --- /dev/null +++ b/perl/perl-gtk2/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-gtk2: Gtk2 (perl module) +perl-gtk2: +perl-gtk2: Perl bindings to the 2.x series of the Gtk+ graphical user interface +perl-gtk2: library. +perl-gtk2: +perl-gtk2: Homepage: http://gtk2-perl.sourceforge.net/ +perl-gtk2: +perl-gtk2: +perl-gtk2: +perl-gtk2: +perl-gtk2: diff --git a/perl/perl-html-parser/README b/perl/perl-html-parser/README new file mode 100644 index 0000000000000..db48009c6ac81 --- /dev/null +++ b/perl/perl-html-parser/README @@ -0,0 +1,8 @@ +perl-html-parser - perl html parser module collection + +This is a collection of perl modules that parse and extract information from +HTML documents. The modules present in this collection are: HTML::Parser, +HTML::Entities, HTML::HeadParser, HTML::LinkExtor, HTML::PullParser, and +HTML::TokeParser. + +This requires perl-html-tagset. diff --git a/perl/perl-html-parser/perl-html-parser.SlackBuild b/perl/perl-html-parser/perl-html-parser.SlackBuild new file mode 100644 index 0000000000000..171cf1252daeb --- /dev/null +++ b/perl/perl-html-parser/perl-html-parser.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +# Slackware build script for perl-html-parser + +# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it> +# 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-html-parser +VERSION=${VERSION:-3.68} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +SRC_PRGNAM=HTML-Parser +DOCFILES="TODO Changes README" + +# LIBDIRSUFFIX not used +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" +fi + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL \ + INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +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 + +# compress man pages +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 + +# Remove perlocal.pod, .packlist and .bs 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 -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCFILES $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-html-parser/perl-html-parser.info b/perl/perl-html-parser/perl-html-parser.info new file mode 100644 index 0000000000000..8127483be4f56 --- /dev/null +++ b/perl/perl-html-parser/perl-html-parser.info @@ -0,0 +1,10 @@ +PRGNAM="perl-html-parser" +VERSION="3.68" +HOMEPAGE="http://search.cpan.org/dist/HTML-Parser/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.68.tar.gz" +MD5SUM="5550b2da7aa94341f1e8a17a4ac20c68" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="rworkman" diff --git a/perl/perl-html-parser/slack-desc b/perl/perl-html-parser/slack-desc new file mode 100644 index 0000000000000..c7bdf9da0ef9f --- /dev/null +++ b/perl/perl-html-parser/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-html-parser: perl-html-parser (perl html parser module collection) +perl-html-parser: +perl-html-parser: It is a collection of perl modules that parse and extract +perl-html-parser: information from HTML documents. The modules present in this +perl-html-parser: collection are: HTML::Parser, HTML::Entities, +perl-html-parser: HTML::HeadParser, HTML::LinkExtor, HTML::PullParser, +perl-html-parser: HTML::TokeParser. +perl-html-parser: +perl-html-parser: Homepage: http://search.cpan.org/dist/HTML-Parser +perl-html-parser: +perl-html-parser: diff --git a/perl/perl-html-tagset/README b/perl/perl-html-tagset/README new file mode 100644 index 0000000000000..cb8aee8969938 --- /dev/null +++ b/perl/perl-html-tagset/README @@ -0,0 +1,4 @@ +perl-html-tagset - perl html data tables module + +This module contains data tables useful in dealing with HTML. + diff --git a/perl/perl-html-tagset/perl-html-tagset.SlackBuild b/perl/perl-html-tagset/perl-html-tagset.SlackBuild new file mode 100644 index 0000000000000..bb22e9e41e35d --- /dev/null +++ b/perl/perl-html-tagset/perl-html-tagset.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for perl-html-tagset + +# Copyright 2008 LukenShiro <lukenshiro@ngi.it> +# 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-html-tagset +SRC_PRGNAM=HTML-Tagset +VERSION=${VERSION:-3.20} +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} + +DOCFILES="Changes README" + +set -e # exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +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 *.bs; do + find $PKG -name "$i" -exec rm -rf {} \; + done +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +# compress man pages +( 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 $DOCFILES $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-html-tagset/perl-html-tagset.info b/perl/perl-html-tagset/perl-html-tagset.info new file mode 100644 index 0000000000000..4938db6ed9031 --- /dev/null +++ b/perl/perl-html-tagset/perl-html-tagset.info @@ -0,0 +1,10 @@ +PRGNAM="perl-html-tagset" +VERSION="3.20" +HOMEPAGE="http://search.cpan.org/dist/HTML-Tagset/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/HTML-Tagset-3.20.tar.gz" +MD5SUM="d2bfa18fe1904df7f683e96611e87437" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="dsomero" diff --git a/perl/perl-html-tagset/slack-desc b/perl/perl-html-tagset/slack-desc new file mode 100644 index 0000000000000..df8f4368622f8 --- /dev/null +++ b/perl/perl-html-tagset/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-html-tagset: perl-html-tagset (perl html data tables module) +perl-html-tagset: +perl-html-tagset: This module contains data tables useful in dealing with HTML. +perl-html-tagset: +perl-html-tagset: +perl-html-tagset: +perl-html-tagset: +perl-html-tagset: +perl-html-tagset: +perl-html-tagset: Homepage: http://search.cpan.org/dist/HTML-Tagset/ +perl-html-tagset: diff --git a/perl/perl-http-response-encoding/README b/perl/perl-http-response-encoding/README new file mode 100644 index 0000000000000..2e053081adaa4 --- /dev/null +++ b/perl/perl-http-response-encoding/README @@ -0,0 +1,3 @@ +This adds encoding() to HTTP::Response. + +This requires libwww-perl. diff --git a/perl/perl-http-response-encoding/perl-http-response-encoding.SlackBuild b/perl/perl-http-response-encoding/perl-http-response-encoding.SlackBuild new file mode 100644 index 0000000000000..3e6960e6f7e46 --- /dev/null +++ b/perl/perl-http-response-encoding/perl-http-response-encoding.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for perl-http-response-encoding + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-http-response-encoding +VERSION=${VERSION:-0.06} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=HTTP-Response-Encoding + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes 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-http-response-encoding/perl-http-response-encoding.info b/perl/perl-http-response-encoding/perl-http-response-encoding.info new file mode 100644 index 0000000000000..175d644519102 --- /dev/null +++ b/perl/perl-http-response-encoding/perl-http-response-encoding.info @@ -0,0 +1,10 @@ +PRGNAM="perl-http-response-encoding" +VERSION="0.06" +HOMEPAGE="http://search.cpan.org/dist/HTTP-Response-Encoding/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-0.06.tar.gz" +MD5SUM="7e1d46f2d88022580e1a18bb7ac4ab71" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-http-response-encoding/slack-desc b/perl/perl-http-response-encoding/slack-desc new file mode 100644 index 0000000000000..4442f57d31a5d --- /dev/null +++ b/perl/perl-http-response-encoding/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-http-response-encoding: HTTP::Response::Encoding (perl module) +perl-http-response-encoding: +perl-http-response-encoding: Adds encoding() to HTTP::Response. +perl-http-response-encoding: +perl-http-response-encoding: Homepage: http://search.cpan.org/dist/HTTP-Response-Encoding/ +perl-http-response-encoding: +perl-http-response-encoding: +perl-http-response-encoding: +perl-http-response-encoding: +perl-http-response-encoding: +perl-http-response-encoding: diff --git a/perl/perl-http-server-simple/README b/perl/perl-http-server-simple/README new file mode 100644 index 0000000000000..1b5cac58676a5 --- /dev/null +++ b/perl/perl-http-server-simple/README @@ -0,0 +1 @@ +This is a lightweight HTTP server. diff --git a/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild b/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild new file mode 100644 index 0000000000000..e176d500314f0 --- /dev/null +++ b/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for perl-http-server-simple + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-http-server-simple +VERSION=${VERSION:-0.43} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=HTTP-Server-Simple + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README ex/ $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-http-server-simple/perl-http-server-simple.info b/perl/perl-http-server-simple/perl-http-server-simple.info new file mode 100644 index 0000000000000..e9dcd24e89efe --- /dev/null +++ b/perl/perl-http-server-simple/perl-http-server-simple.info @@ -0,0 +1,10 @@ +PRGNAM="perl-http-server-simple" +VERSION="0.43" +HOMEPAGE="http://search.cpan.org/dist/HTTP-Server-Simple/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/HTTP-Server-Simple-0.43.tar.gz" +MD5SUM="8f430708ab7b4c2b3a4e48c549c7185e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-http-server-simple/slack-desc b/perl/perl-http-server-simple/slack-desc new file mode 100644 index 0000000000000..49c1104284402 --- /dev/null +++ b/perl/perl-http-server-simple/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-http-server-simple: HTTP::Server::Simple (perl module) +perl-http-server-simple: +perl-http-server-simple: Lightweight HTTP server. +perl-http-server-simple: +perl-http-server-simple: Homepage: http://search.cpan.org/dist/HTTP-Server-Simple/ +perl-http-server-simple: +perl-http-server-simple: +perl-http-server-simple: +perl-http-server-simple: +perl-http-server-simple: +perl-http-server-simple: diff --git a/perl/perl-libintl/README b/perl/perl-libintl/README new file mode 100644 index 0000000000000..22c6485c46811 --- /dev/null +++ b/perl/perl-libintl/README @@ -0,0 +1,2 @@ +The module Locale::TextDomain(3pm) provides a high-level interface +to Perl message translation. diff --git a/perl/perl-libintl/perl-libintl.SlackBuild b/perl/perl-libintl/perl-libintl.SlackBuild new file mode 100644 index 0000000000000..4b0d06972f919 --- /dev/null +++ b/perl/perl-libintl/perl-libintl.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/sh + +# Slackware build script for perl-libintl + +# Written by Luis Henrique <lmello.009@gmail.com> + +PRGNAM=perl-libintl +VERSION=${VERSION:-1.16} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/libintl-perl-$VERSION.tar.gz +cd libintl-perl-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL +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 + +mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share + +( 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 +) + +( cd $PKG + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING.LESSER ChangeLog FAQ MANIFEST NEWS README* THANKS TODO \ + $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-libintl/perl-libintl.info b/perl/perl-libintl/perl-libintl.info new file mode 100644 index 0000000000000..30e19f8bf53ac --- /dev/null +++ b/perl/perl-libintl/perl-libintl.info @@ -0,0 +1,10 @@ +PRGNAM="perl-libintl" +VERSION="1.16" +HOMEPAGE="http://search.cpan.org/~guido/libintl-perl-1.16" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-1.16.tar.gz" +MD5SUM="7dfcd9ac3a4ff41038a2c67a733d42b9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Luis Henrique" +EMAIL="lmello.009@gmail.com" +APPROVED="rworkman" diff --git a/perl/perl-libintl/slack-desc b/perl/perl-libintl/slack-desc new file mode 100644 index 0000000000000..5e54458332fb8 --- /dev/null +++ b/perl/perl-libintl/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-libintl: perl-libintl (Perl Interface to Uniforum Message Translation) +perl-libintl: +perl-libintl: The module Locale::TextDomain(3pm) provides a high-level interface +perl-libintl: to Perl message translation. +perl-libintl: +perl-libintl: +perl-libintl: +perl-libintl: +perl-libintl: +perl-libintl: +perl-libintl: diff --git a/perl/perl-lirc-client/README b/perl/perl-lirc-client/README new file mode 100644 index 0000000000000..2163c233080ed --- /dev/null +++ b/perl/perl-lirc-client/README @@ -0,0 +1,8 @@ +perl-lirc-client (A client library for LIRC) + +This module provides a simple interface to the Linux Infrared Remote +Control (Lirc). The module encasuplates parsing the Lirc config file +(.lircrc), openning a connection to the Lirc device, and retrieving +events from the device. + +This require perl-class-accessor and perl-file-path-expand. diff --git a/perl/perl-lirc-client/perl-lirc-client.SlackBuild b/perl/perl-lirc-client/perl-lirc-client.SlackBuild new file mode 100644 index 0000000000000..3916d46fa21f9 --- /dev/null +++ b/perl/perl-lirc-client/perl-lirc-client.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for perl-lirc-client + +# Written by Pablo Santamaria (pablosantamaria@gmail.com) + +PRGNAM=perl-lirc-client +SRCNAM=Lirc-Client +VERSION=${VERSION:-1.51} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +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 + +( 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 +) + +# Remove perlocal.pod, .packlist and .bs from $PKG +( cd $PKG + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +find $PKG -depth -type d -empty -exec rmdir {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog 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-lirc-client/perl-lirc-client.info b/perl/perl-lirc-client/perl-lirc-client.info new file mode 100644 index 0000000000000..6d4ec1542a5b1 --- /dev/null +++ b/perl/perl-lirc-client/perl-lirc-client.info @@ -0,0 +1,10 @@ +PRGNAM="perl-lirc-client" +VERSION="1.51" +HOMEPAGE="http://search.cpan.org/~mgrimes/Lirc-Client-1.51/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MG/MGRIMES/Lirc-Client-1.51.tar.gz" +MD5SUM="b5b6421d9f4fc773716be4b5aff49d05" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Pablo Santamaria" +EMAIL="pablosantamaria@gmail.com" +APPROVED="michiel" diff --git a/perl/perl-lirc-client/slack-desc b/perl/perl-lirc-client/slack-desc new file mode 100644 index 0000000000000..d233a53cb878c --- /dev/null +++ b/perl/perl-lirc-client/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-lirc-client: perl-lirc-client (A client library for LIRC) +perl-lirc-client: +perl-lirc-client: This module provides a simple interface to the Linux Infrared Remote +perl-lirc-client: Control (Lirc). The module encasuplates parsing the Lirc config file +perl-lirc-client: (.lircrc), openning a connection to the Lirc device, and retrieving +perl-lirc-client: events from the device. +perl-lirc-client: +perl-lirc-client: +perl-lirc-client: +perl-lirc-client: +perl-lirc-client: diff --git a/perl/perl-net-dbus/README b/perl/perl-net-dbus/README new file mode 100644 index 0000000000000..aa30b9ccb9477 --- /dev/null +++ b/perl/perl-net-dbus/README @@ -0,0 +1,7 @@ +perl-net-dbus (Net::DBus perl module) + +Net::DBus provides a Perl XS API to the dbus inter-application +messaging system. The Perl API covers the core base level of the +dbus APIs, not concerning itself yet with the GLib or QT wrappers. + +This requires perl-xml-twig. diff --git a/perl/perl-net-dbus/perl-net-dbus.SlackBuild b/perl/perl-net-dbus/perl-net-dbus.SlackBuild new file mode 100644 index 0000000000000..0c4370e15ec0e --- /dev/null +++ b/perl/perl-net-dbus/perl-net-dbus.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/sh + +# Slackware build script for <appname> + +# Written by (your name) (your contact information) + +# (add license information here if you desire; otherwise, +# all submissions are considered to be in the public domain) +# Some licenses may incorporate the "Written by" information +# above, and if so, that line can be omitted +# We strongly suggest *not* using GPL for scripts, as it requires +# a copy of the GPL to be distributed with it. Since the GPL +# itself is longer than any build script will be, this just doesn't +# make good sense... + +Net-DBus-0.33.6.tar.gz + +PRGNAM=perl-net-dbus +VERSION=${VERSION:-0.33.6} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Net-DBus + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/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 || true +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS CHANGES LICENSE 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-net-dbus/perl-net-dbus.info b/perl/perl-net-dbus/perl-net-dbus.info new file mode 100644 index 0000000000000..9d1f9124a3724 --- /dev/null +++ b/perl/perl-net-dbus/perl-net-dbus.info @@ -0,0 +1,10 @@ +PRGNAM="perl-net-dbus" +VERSION="0.33.6" +HOMEPAGE="http://search.cpan.org/~danberr/Net-DBus/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Net-DBus-0.33.6.tar.gz" +MD5SUM="a1dbce89b1b839fd0e46d74067ae2e35" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-net-dbus/slack-desc b/perl/perl-net-dbus/slack-desc new file mode 100644 index 0000000000000..4c74b2bbcb8b3 --- /dev/null +++ b/perl/perl-net-dbus/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-net-dbus: perl-net-dbus (Net::DBus perl module) +perl-net-dbus: +perl-net-dbus: Net::DBus provides a Perl XS API to the dbus inter-application +perl-net-dbus: messaging system. The Perl API covers the core base level of the +perl-net-dbus: dbus APIs, not concerning itself yet with the GLib or QT wrappers. +perl-net-dbus: +perl-net-dbus: Homepage: http://www.freedesktop.org/software/dbus/ +perl-net-dbus: +perl-net-dbus: +perl-net-dbus: +perl-net-dbus: diff --git a/perl/perl-net-dns/README b/perl/perl-net-dns/README new file mode 100644 index 0000000000000..f78cac4a9f617 --- /dev/null +++ b/perl/perl-net-dns/README @@ -0,0 +1,7 @@ +perl-net-dns - perl DNS resolver module + +Net::DNS is a DNS resolver implemented in Perl. It allows the +programmer to perform nearly any type of DNS query from a Perl +script + +This requires perl-net-ip and perl-digest-hmac. diff --git a/perl/perl-net-dns/perl-net-dns.SlackBuild b/perl/perl-net-dns/perl-net-dns.SlackBuild new file mode 100644 index 0000000000000..8ecc7e504b0bb --- /dev/null +++ b/perl/perl-net-dns/perl-net-dns.SlackBuild @@ -0,0 +1,110 @@ +#!/bin/sh + +# Slackware build script for perl-net-dns + +# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it> +# 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-net-dns +VERSION=${VERSION:-0.66} +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} + +SRC_PRGNAM=Net-DNS +DOCFILES="TODO Changes README" + +# LIBDIRSUFFIX not used +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL INSTALLDIRS=vendor + +make +make install DESTDIR=$PKG + +#Move man-pages to appropriate place +mv $PKG/usr/share/man $PKG/usr/ + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs 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 +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cp -a demo $PKG/usr/doc/$PRGNAM-$VERSION +sed -i "s#/usr/local/bin/perl#/usr/bin/perl#g" $PKG/usr/doc/$PRGNAM-$VERSION/demo/* + +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-net-dns/perl-net-dns.info b/perl/perl-net-dns/perl-net-dns.info new file mode 100644 index 0000000000000..88fa6991534b5 --- /dev/null +++ b/perl/perl-net-dns/perl-net-dns.info @@ -0,0 +1,10 @@ +PRGNAM="perl-net-dns" +VERSION="0.66" +HOMEPAGE="http://search.cpan.org/dist/Net-DNS/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/Net-DNS-0.66.tar.gz" +MD5SUM="1635d876324e3c2f6e277d5778bfe94c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="dsomero" diff --git a/perl/perl-net-dns/slack-desc b/perl/perl-net-dns/slack-desc new file mode 100644 index 0000000000000..e880ae0f17718 --- /dev/null +++ b/perl/perl-net-dns/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-net-dns: perl-net-dns (perl DNS resolver module) +perl-net-dns: +perl-net-dns: This is a DNS resolver implemented in Perl. It allows the +perl-net-dns: programmer to perform nearly any type of DNS query from a Perl +perl-net-dns: script. +perl-net-dns: +perl-net-dns: Homepage: http://search.cpan.org/dist/Net-DNS/ +perl-net-dns: +perl-net-dns: +perl-net-dns: +perl-net-dns: diff --git a/perl/perl-net-ip/README b/perl/perl-net-ip/README new file mode 100644 index 0000000000000..2b26db5dad5c4 --- /dev/null +++ b/perl/perl-net-ip/README @@ -0,0 +1,5 @@ +perl-net-ip - perl IP address manipulation module + +Module Net::IP is designed to allow easy manipulation of IPv4 and IPv6 +addresses. + diff --git a/perl/perl-net-ip/perl-net-ip.SlackBuild b/perl/perl-net-ip/perl-net-ip.SlackBuild new file mode 100644 index 0000000000000..8a420f37c99f6 --- /dev/null +++ b/perl/perl-net-ip/perl-net-ip.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/sh + +# Slackware build script for perl-net-ip + +# Copyright 2008 LukenShiro <lukenshiro@ngi.it> +# 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-net-ip +SRC_PRGNAM=Net-IP +VERSION=${VERSION:-1.25} +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} + +DOCFILES="Changes README COPYING" + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +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, .packlist and .bs from $PKG +( for i in perllocal.pod .packlist *.bs; do + find $PKG -name "$i" -exec rm -rf {} \; + done +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +# compress man pages +( 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 $DOCFILES $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-net-ip/perl-net-ip.info b/perl/perl-net-ip/perl-net-ip.info new file mode 100644 index 0000000000000..d3598a06542a9 --- /dev/null +++ b/perl/perl-net-ip/perl-net-ip.info @@ -0,0 +1,10 @@ +PRGNAM="perl-net-ip" +VERSION="1.25" +HOMEPAGE="http://search.cpan.org/dist/Net-IP/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MA/MANU/Net-IP-1.25.tar.gz" +MD5SUM="a49c0b02a9b793ff60191cdafc0c202e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="dsomero" diff --git a/perl/perl-net-ip/slack-desc b/perl/perl-net-ip/slack-desc new file mode 100644 index 0000000000000..fcbec3983136d --- /dev/null +++ b/perl/perl-net-ip/slack-desc @@ -0,0 +1,20 @@ +# 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-net-ip: perl-net-ip (perl IP address manipulation module) +perl-net-ip: +perl-net-ip: It is designed to allow easy manipulation of IPv4 and IPv6 +perl-net-ip: addresses. +perl-net-ip: +perl-net-ip: +perl-net-ip: +perl-net-ip: +perl-net-ip: +perl-net-ip: Homepage: http://search.cpan.org/dist/Net-IP/ +perl-net-ip: + diff --git a/perl/perl-pango/README b/perl/perl-pango/README new file mode 100644 index 0000000000000..355247bf56694 --- /dev/null +++ b/perl/perl-pango/README @@ -0,0 +1,3 @@ +Perl bindings to the Pango library. + +This requires perl-glib and perl-cairo. diff --git a/perl/perl-pango/perl-pango.SlackBuild b/perl/perl-pango/perl-pango.SlackBuild new file mode 100644 index 0000000000000..51965bc278edc --- /dev/null +++ b/perl/perl-pango/perl-pango.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +# Slackware build script for perl-pango + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-pango +VERSION=${VERSION:-1.221} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Pango + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog* LICENSE MAINTAINERS NEWS README copyright* examples/ \ + $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-pango/perl-pango.info b/perl/perl-pango/perl-pango.info new file mode 100644 index 0000000000000..85c68e0ca6dba --- /dev/null +++ b/perl/perl-pango/perl-pango.info @@ -0,0 +1,10 @@ +PRGNAM="perl-pango" +VERSION="1.221" +HOMEPAGE="http://search.cpan.org/dist/Pango/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Pango-1.221.tar.gz" +MD5SUM="8d257209aa11bd6c3a2beb235c2f103f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="dsomero" diff --git a/perl/perl-pango/slack-desc b/perl/perl-pango/slack-desc new file mode 100644 index 0000000000000..e7b71c581848d --- /dev/null +++ b/perl/perl-pango/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-pango: Pango (perl module) +perl-pango: +perl-pango: Perl bindings to the Pango library. +perl-pango: +perl-pango: Homepage: http://search.cpan.org/dist/Pango/ +perl-pango: +perl-pango: +perl-pango: +perl-pango: +perl-pango: +perl-pango: diff --git a/perl/perl-proc-processtable/README b/perl/perl-proc-processtable/README new file mode 100644 index 0000000000000..521da167db704 --- /dev/null +++ b/perl/perl-proc-processtable/README @@ -0,0 +1,9 @@ +This module is a first crack at providing a consistent interface to +Unix (and maybe other multitasking OS's) process table information. +The impetus for this came about with my frustration at having to parse +the output of various systems' ps commands to check whether specific +processes were running on different boxes at a larged mixed Unix site. +The output format of ps was different on each OS, and sometimes +changed with each new release of an OS. Also, running a ps subprocess +from within a perl or shell script and parsing the output was not a +very efficient or aesthetic way to do things. diff --git a/perl/perl-proc-processtable/perl-proc-processtable.SlackBuild b/perl/perl-proc-processtable/perl-proc-processtable.SlackBuild new file mode 100644 index 0000000000000..e21214d07523b --- /dev/null +++ b/perl/perl-proc-processtable/perl-proc-processtable.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for perl-proc-processtable + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-proc-processtable +VERSION=${VERSION:-0.45} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Proc-ProcessTable + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + OPTIMIZE="$SLKCFLAGS" \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes PORTING README* TODO example.pl $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-proc-processtable/perl-proc-processtable.info b/perl/perl-proc-processtable/perl-proc-processtable.info new file mode 100644 index 0000000000000..16b469d4410f4 --- /dev/null +++ b/perl/perl-proc-processtable/perl-proc-processtable.info @@ -0,0 +1,10 @@ +PRGNAM="perl-proc-processtable" +VERSION="0.45" +HOMEPAGE="http://search.cpan.org/dist/Proc-ProcessTable/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DU/DURIST/Proc-ProcessTable-0.45.tar.gz" +MD5SUM="4481495d639c314f57e6d9d25f23c88e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-proc-processtable/slack-desc b/perl/perl-proc-processtable/slack-desc new file mode 100644 index 0000000000000..6ba4308895de2 --- /dev/null +++ b/perl/perl-proc-processtable/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-proc-processtable: Proc::ProcessTable (perl module) +perl-proc-processtable: +perl-proc-processtable: This module provides a consistent interface to Unix (and maybe other +perl-proc-processtable: multitasking OS's) process table information. +perl-proc-processtable: +perl-proc-processtable: Homepage: http://search.cpan.org/dist/Proc-ProcessTable/ +perl-proc-processtable: +perl-proc-processtable: +perl-proc-processtable: +perl-proc-processtable: +perl-proc-processtable: diff --git a/perl/perl-test-number-delta/README b/perl/perl-test-number-delta/README new file mode 100644 index 0000000000000..35dd6b2ee9a49 --- /dev/null +++ b/perl/perl-test-number-delta/README @@ -0,0 +1,3 @@ +Test::Number::Delta (perl module) + +Compare the difference between numbers against a given tolerance. diff --git a/perl/perl-test-number-delta/perl-test-number-delta.SlackBuild b/perl/perl-test-number-delta/perl-test-number-delta.SlackBuild new file mode 100644 index 0000000000000..b54dc560cc521 --- /dev/null +++ b/perl/perl-test-number-delta/perl-test-number-delta.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/sh + +# Slackware build script for perl-test-number-delta + +# (C) 2007 Michael Wagner <lapinours@web.de> +# 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-test-number-delta +SRCNAM=Test-Number-Delta +VERSION=1.03 +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} + +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 . + +perl Makefile.PL +make +make install INSTALLDIRS=vendor DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share +gzip -9 $PKG/usr/man/man3/* 2> /dev/null + +# Remove perlocal.pod and .packlist from $PKG +( for i in perllocal.pod .packlist; do + find $PKG -name "$i" -exec rm -f {} \; + done +) || exit 1 + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes INSTALL LICENSE README Todo \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* + +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-test-number-delta/perl-test-number-delta.info b/perl/perl-test-number-delta/perl-test-number-delta.info new file mode 100644 index 0000000000000..39124ec994be9 --- /dev/null +++ b/perl/perl-test-number-delta/perl-test-number-delta.info @@ -0,0 +1,10 @@ +PRGNAM="perl-test-number-delta" +VERSION="1.03" +HOMEPAGE="http://search.cpan.org/~dagolden/Test-Number-Delta-1.03/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.03.tar.gz" +MD5SUM="17d3eec2d5bbe012c4a797af8e75ae39" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Michael Wagner" +EMAIL="lapinours@web.de" +APPROVED="rworkman" diff --git a/perl/perl-test-number-delta/slack-desc b/perl/perl-test-number-delta/slack-desc new file mode 100644 index 0000000000000..e27b2f5562fe5 --- /dev/null +++ b/perl/perl-test-number-delta/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-test-number-delta: Test::Number::Delta (perl module) +perl-test-number-delta: +perl-test-number-delta: Compare the difference between numbers against a +perl-test-number-delta: given tolerance. +perl-test-number-delta: +perl-test-number-delta: +perl-test-number-delta: +perl-test-number-delta: +perl-test-number-delta: +perl-test-number-delta: +perl-test-number-delta: diff --git a/perl/perl-test-warn/README b/perl/perl-test-warn/README new file mode 100644 index 0000000000000..e2ff9046126e5 --- /dev/null +++ b/perl/perl-test-warn/README @@ -0,0 +1,3 @@ +Perl extension to test methods for warnings. + +This requires perl-Sub-Uplevel and perl-tree-dagnode. diff --git a/perl/perl-test-warn/perl-test-warn.SlackBuild b/perl/perl-test-warn/perl-test-warn.SlackBuild new file mode 100644 index 0000000000000..15d2b884b8a0e --- /dev/null +++ b/perl/perl-test-warn/perl-test-warn.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for perl-test-warn + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-test-warn +VERSION=${VERSION:-0.22} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Test-Warn + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes 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-test-warn/perl-test-warn.info b/perl/perl-test-warn/perl-test-warn.info new file mode 100644 index 0000000000000..d3d26d072317b --- /dev/null +++ b/perl/perl-test-warn/perl-test-warn.info @@ -0,0 +1,10 @@ +PRGNAM="perl-test-warn" +VERSION="0.22" +HOMEPAGE="http://search.cpan.org/dist/Test-Warn/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Test-Warn-0.22.tar.gz" +MD5SUM="bfff5f43097debdef0cbe9047bd38853" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-test-warn/slack-desc b/perl/perl-test-warn/slack-desc new file mode 100644 index 0000000000000..7e146541e667c --- /dev/null +++ b/perl/perl-test-warn/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-test-warn: Test::Warn (perl module) +perl-test-warn: +perl-test-warn: Perl extension to test methods for warnings. +perl-test-warn: +perl-test-warn: Homepage: http://search.cpan.org/dist/Test-Warn/ +perl-test-warn: +perl-test-warn: +perl-test-warn: +perl-test-warn: +perl-test-warn: +perl-test-warn: diff --git a/perl/perl-tk/README b/perl/perl-tk/README new file mode 100644 index 0000000000000..d78338991fddf --- /dev/null +++ b/perl/perl-tk/README @@ -0,0 +1,8 @@ +perl-tk (Tk graphical interface for Perl) + +Perl/Tk is an extension for writing Perl programs with a GUI. + +Tk was originally developed as an extension to the Tcl language +for use with the X Window System on Unix. With its port to perl, +Tk gives Perl programmers the same control over the graphical +desktop that Tcl programmers have taken for granted. diff --git a/perl/perl-tk/perl-tk-804.029.diff b/perl/perl-tk/perl-tk-804.029.diff new file mode 100644 index 0000000000000..0aab9659ed7d7 --- /dev/null +++ b/perl/perl-tk/perl-tk-804.029.diff @@ -0,0 +1,27 @@ +diff -ru Tk-804.029.org//TextList/reindex.pl Tk-804.029/TextList/reindex.pl +--- Tk-804.029.org//TextList/reindex.pl 2007-02-10 05:54:45.000000000 -0300 ++++ Tk-804.029/TextList/reindex.pl 2010-08-05 13:53:36.447371174 -0300 +@@ -1,4 +1,4 @@ +-#!/bin/perl ++#!/usr/bin/perl + + use lib qw(/home1/gbartels/textlist); + use Tk; +diff -ru Tk-804.029.org//pTk/Tcl-pTk Tk-804.029/pTk/Tcl-pTk +--- Tk-804.029.org//pTk/Tcl-pTk 2007-02-10 05:55:23.000000000 -0300 ++++ Tk-804.029/pTk/Tcl-pTk 2010-08-05 13:54:06.527369253 -0300 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + use open IO => ':bytes'; # Avoid UTF-8 issues with some perl5.8.0 (RedHat) + use Carp; + my $verbose = 0; +diff -ru Tk-804.029.org//pTk/mkVFunc Tk-804.029/pTk/mkVFunc +--- Tk-804.029.org//pTk/mkVFunc 2008-11-04 20:06:50.000000000 -0200 ++++ Tk-804.029/pTk/mkVFunc 2010-08-05 13:54:20.074244152 -0300 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + use strict; + + diff --git a/perl/perl-tk/perl-tk.SlackBuild b/perl/perl-tk/perl-tk.SlackBuild new file mode 100644 index 0000000000000..11b9d93e12a75 --- /dev/null +++ b/perl/perl-tk/perl-tk.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/sh + +# Slackware build script for perl-tk (Tk) + +# Written by Pablo Santamaria (pablosantamaria@gmail.com) + +PRGNAM=perl-tk +VERSION=${VERSION:-804.029} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf Tk-$VERSION +tar xvf $CWD/Tk-$VERSION.tar.gz +cd Tk-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +# Apply a few patches +patch -p1 < $CWD/$PRGNAM-$VERSION.diff + +# XFT=1 (font manager) support, which gives perl-tk programs the ability to +# use all fonts accessible from XFT and antialiasing. +perl Makefile.PL \ + XFT=1 \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 \ +make OPTIMIZE="$SLKCFLAGS" +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 + +( 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 +) + +( cd $PKG + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING Change.log Changes Funcs.doc INSTALL PPM-HowTo README \ + README.linux ToDo VERSIONS $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-tk/perl-tk.info b/perl/perl-tk/perl-tk.info new file mode 100644 index 0000000000000..d0955ac0b3984 --- /dev/null +++ b/perl/perl-tk/perl-tk.info @@ -0,0 +1,10 @@ +PRGNAM="perl-tk" +VERSION="804.029" +HOMEPAGE="http://search.cpan.org/~srezic/Tk-804.029/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-804.029.tar.gz" +MD5SUM="f4aebe6fcdb309a8480514f2ccf8117c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Pablo Santamaria" +EMAIL="pablosantamaria@gmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-tk/slack-desc b/perl/perl-tk/slack-desc new file mode 100644 index 0000000000000..907091f1b8762 --- /dev/null +++ b/perl/perl-tk/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-tk: perl-tk (Tk graphical interface for Perl) +perl-tk: +perl-tk: Perl/Tk is an extension for writing Perl programs with a GUI. +perl-tk: +perl-tk: Tk was originally developed as an extension to the Tcl language +perl-tk: for use with the X Window System on Unix. With its port to perl, +perl-tk: Tk gives Perl programmers the same control over the graphical +perl-tk: desktop that Tcl programmers have taken for granted. +perl-tk: +perl-tk: +perl-tk: diff --git a/perl/perl-trayicon/COPYING b/perl/perl-trayicon/COPYING new file mode 100644 index 0000000000000..d511905c1647a --- /dev/null +++ b/perl/perl-trayicon/COPYING @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/perl/perl-trayicon/README b/perl/perl-trayicon/README new file mode 100644 index 0000000000000..f98f43b46aecf --- /dev/null +++ b/perl/perl-trayicon/README @@ -0,0 +1,4 @@ +This module allows a Perl developer to embed an arbitrary widget in a +System Tray like the Gnome notification area. + +This requires perl-gtk2. diff --git a/perl/perl-trayicon/perl-trayicon.SlackBuild b/perl/perl-trayicon/perl-trayicon.SlackBuild new file mode 100644 index 0000000000000..3118e9988b0a7 --- /dev/null +++ b/perl/perl-trayicon/perl-trayicon.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/sh + +# Slackware build script for perl-trayicon + +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=perl-trayicon +SRCNAM=Gtk2-TrayIcon +VERSION=${VERSION:-0.06} +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} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +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 +cat $CWD/COPYING > COPYING +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +perl Makefile.PL +make OPTIMIZE="$SLKCFLAGS" +make install INSTALLDIRS=vendor DESTDIR=$PKG + +find $PKG -name TrayIcon.so -exec strip --strip-unneeded $PKG 2> /dev/null {} \; + +mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share +gzip -9 $PKG/usr/man/man3/* 2> /dev/null + +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +# Remove empty directory +find $PKG -depth -type d -empty -exec rm -rf {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog MANIFEST* README TODO COPYING $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-trayicon/perl-trayicon.info b/perl/perl-trayicon/perl-trayicon.info new file mode 100644 index 0000000000000..f525974e76002 --- /dev/null +++ b/perl/perl-trayicon/perl-trayicon.info @@ -0,0 +1,10 @@ +PRGNAM="perl-trayicon" +VERSION="0.06" +HOMEPAGE="http://gtk2-perl.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/gtk2-perl/Gtk2-TrayIcon-0.06.tar.gz" +MD5SUM="522c328f14681a25d76eeaf317e05049" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="rworkman" diff --git a/perl/perl-trayicon/slack-desc b/perl/perl-trayicon/slack-desc new file mode 100644 index 0000000000000..248fc9b300c8b --- /dev/null +++ b/perl/perl-trayicon/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-trayicon: perl-trayicon (Tray icon docker for perl applications) +perl-trayicon: +perl-trayicon: This module allows a Perl developer to embed an arbitrary widget in a +perl-trayicon: System Tray like the Gnome notification area. +perl-trayicon: +perl-trayicon: Homepage: http://gtk2-perl.sourceforge.net/ +perl-trayicon: +perl-trayicon: +perl-trayicon: +perl-trayicon: +perl-trayicon: diff --git a/perl/perl-tree-dagnode/README b/perl/perl-tree-dagnode/README new file mode 100644 index 0000000000000..549641da4e16a --- /dev/null +++ b/perl/perl-tree-dagnode/README @@ -0,0 +1,9 @@ +Tree::DAG_Node is a (super)class for representing nodes in a tree. + +This class encapsulates/makes/manipulates objects that represent nodes +in a tree structure. The tree structure is not an object itself, but +is emergent from the linkages you create between nodes. This class +provides the methods for making linkages that can be used to build up +a tree, while preventing you from ever making any kinds of linkages +which are not allowed in a tree (such as having a node be its own +mother or ancestor, or having a node have two mothers). diff --git a/perl/perl-tree-dagnode/perl-tree-dagnode.SlackBuild b/perl/perl-tree-dagnode/perl-tree-dagnode.SlackBuild new file mode 100644 index 0000000000000..f7edfcd4a4455 --- /dev/null +++ b/perl/perl-tree-dagnode/perl-tree-dagnode.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for perl-tree-dagnode + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-tree-dagnode +VERSION=${VERSION:-1.06} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Tree-DAG_Node + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog 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-tree-dagnode/perl-tree-dagnode.info b/perl/perl-tree-dagnode/perl-tree-dagnode.info new file mode 100644 index 0000000000000..7fcd36498a02c --- /dev/null +++ b/perl/perl-tree-dagnode/perl-tree-dagnode.info @@ -0,0 +1,10 @@ +PRGNAM="perl-tree-dagnode" +VERSION="1.06" +HOMEPAGE="http://search.cpan.org/dist/Tree-DAG_Node/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/C/CO/COGENT/Tree-DAG_Node-1.06.tar.gz" +MD5SUM="3b006f128bd1d8961fc57c466ffa05f2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-tree-dagnode/slack-desc b/perl/perl-tree-dagnode/slack-desc new file mode 100644 index 0000000000000..c98882cc27bcd --- /dev/null +++ b/perl/perl-tree-dagnode/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-tree-dagnode: Tree::DAG_Node (perl module) +perl-tree-dagnode: +perl-tree-dagnode: Tree::DAG_Node is a (super)class for representing nodes in a tree. +perl-tree-dagnode: +perl-tree-dagnode: Homepage: http://search.cpan.org/dist/Tree-DAG_Node/ +perl-tree-dagnode: +perl-tree-dagnode: +perl-tree-dagnode: +perl-tree-dagnode: +perl-tree-dagnode: +perl-tree-dagnode: diff --git a/perl/perl-www-mechanize/README b/perl/perl-www-mechanize/README new file mode 100644 index 0000000000000..05cb3136f06ac --- /dev/null +++ b/perl/perl-www-mechanize/README @@ -0,0 +1,5 @@ +Perl module to assist in interaction with websites. Handles link +scrubbing and form processing. + +This requires perl-http-response-encoding, perl-http-server-simple, +and perl-test-warn. diff --git a/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild b/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild new file mode 100644 index 0000000000000..02eaeaef5c3a9 --- /dev/null +++ b/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +# Slackware build script for perl-www-mechanize + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-www-mechanize +VERSION=${VERSION:-1.66} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=WWW-Mechanize + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +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 + +mv $PKG/usr/share/man/man1 $PKG/usr/man ; rm -rf $PKG/usr/share +find $PKG/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes $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-www-mechanize/perl-www-mechanize.info b/perl/perl-www-mechanize/perl-www-mechanize.info new file mode 100644 index 0000000000000..bf90d95c79783 --- /dev/null +++ b/perl/perl-www-mechanize/perl-www-mechanize.info @@ -0,0 +1,10 @@ +PRGNAM="perl-www-mechanize" +VERSION="1.66" +HOMEPAGE="http://search.cpan.org/dist/WWW-Mechanize/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/WWW-Mechanize-1.66.tar.gz" +MD5SUM="40690ba4cd93b8c3b931582acf87eeac" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-www-mechanize/slack-desc b/perl/perl-www-mechanize/slack-desc new file mode 100644 index 0000000000000..09653851671c5 --- /dev/null +++ b/perl/perl-www-mechanize/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-www-mechanize: WWW::Mechanize (perl module) +perl-www-mechanize: +perl-www-mechanize: Perl module to assist in interaction with websites. Handles link +perl-www-mechanize: scrubbing and form processing. +perl-www-mechanize: +perl-www-mechanize: Homepage: http://search.cpan.org/dist/WWW-Mechanize/ +perl-www-mechanize: +perl-www-mechanize: +perl-www-mechanize: +perl-www-mechanize: +perl-www-mechanize: diff --git a/perl/perl-x11-protocol/README b/perl/perl-x11-protocol/README new file mode 100644 index 0000000000000..b8ea92de3096e --- /dev/null +++ b/perl/perl-x11-protocol/README @@ -0,0 +1,3 @@ +X11::Protocol and the related modules in this distribution are a rough +equivalent of Xlib (libX11.a, with a bit of Xau and Xext mixed in) +used for drawing windows on and otherwise manipulating X11 window servers. diff --git a/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild b/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild new file mode 100644 index 0000000000000..8b83205323ba5 --- /dev/null +++ b/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for perl-x11-protocol + +# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# 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-x11-protocol +VERSION=${VERSION:-0.56} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=X11-Protocol + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -eu + +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 . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +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/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README Todo eg/ $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-x11-protocol/perl-x11-protocol.info b/perl/perl-x11-protocol/perl-x11-protocol.info new file mode 100644 index 0000000000000..377e32861e020 --- /dev/null +++ b/perl/perl-x11-protocol/perl-x11-protocol.info @@ -0,0 +1,10 @@ +PRGNAM="perl-x11-protocol" +VERSION="0.56" +HOMEPAGE="http://search.cpan.org/dist/X11-Protocol/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SM/SMCCAM/X11-Protocol-0.56.tar.gz" +MD5SUM="2260bad68d373b201b17c60d761e0f0a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Binh Nguyen" +EMAIL="binhnguyen@fastmail.fm" +APPROVED="rworkman" diff --git a/perl/perl-x11-protocol/slack-desc b/perl/perl-x11-protocol/slack-desc new file mode 100644 index 0000000000000..9312f0f9a193e --- /dev/null +++ b/perl/perl-x11-protocol/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-x11-protocol: X11::Protocol (perl module) +perl-x11-protocol: +perl-x11-protocol: X11::Protocol and the related modules in this distribution are a rough +perl-x11-protocol: equivalent of Xlib (libX11.a, with a bit of Xau and Xext mixed in) +perl-x11-protocol: used for drawing windows on and otherwise manipulating X11 window +perl-x11-protocol: servers. +perl-x11-protocol: +perl-x11-protocol: Homepage: http://search.cpan.org/dist/X11-Protocol/ +perl-x11-protocol: +perl-x11-protocol: +perl-x11-protocol: diff --git a/perl/perl-xml-libxml-common/README b/perl/perl-xml-libxml-common/README new file mode 100644 index 0000000000000..766a1b56a652e --- /dev/null +++ b/perl/perl-xml-libxml-common/README @@ -0,0 +1,3 @@ +XML::LibXML::Common + +Routines and Constants common for XML::LibXML and XML::GDOME diff --git a/perl/perl-xml-libxml-common/perl-xml-libxml-common.SlackBuild b/perl/perl-xml-libxml-common/perl-xml-libxml-common.SlackBuild new file mode 100644 index 0000000000000..3ce1db559df74 --- /dev/null +++ b/perl/perl-xml-libxml-common/perl-xml-libxml-common.SlackBuild @@ -0,0 +1,64 @@ +#!/bin/sh + +# Slackware build script for perl-xml-namespacesupport + +# Written by Murat D. Kadirov <banderols@gmail.com> +# Modified by SlackBuils.org + +PRGNAM=perl-xml-libxml-common +SRCNAM=XML-LibXML-Common +VERSION=0.13 +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} + +DOCS="Changes README LICENSE" + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $SRCNAM-$VERSION +tar -xzvf $CWD/$SRCNAM-$VERSION.tar.gz || exit 1 +cd $SRCNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +perl Makefile.PL || exit 1 +make || exit 1 +make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1 + +mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share +gzip -9 $PKG/usr/man/man3/* 2> /dev/null + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* + +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-xml-libxml-common/perl-xml-libxml-common.info b/perl/perl-xml-libxml-common/perl-xml-libxml-common.info new file mode 100644 index 0000000000000..5128aa81509ac --- /dev/null +++ b/perl/perl-xml-libxml-common/perl-xml-libxml-common.info @@ -0,0 +1,10 @@ +PRGNAM="perl-xml-libxml-common" +VERSION="0.13" +HOMEPAGE="http://search.cpan.org/~phish/XML-LibXML-Common-0.13/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PH/PHISH/XML-LibXML-Common-0.13.tar.gz" +MD5SUM="13b6d93f53375d15fd11922216249659" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Murat D. Kadirov" +EMAIL="banderols@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-xml-libxml-common/slack-desc b/perl/perl-xml-libxml-common/slack-desc new file mode 100644 index 0000000000000..913e872425eb7 --- /dev/null +++ b/perl/perl-xml-libxml-common/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-xml-libxml-common: XML::LibXML::Common (perl module) +perl-xml-libxml-common: +perl-xml-libxml-common: Routines and Constants common for XML::LibXML and +perl-xml-libxml-common: XML::GDOME +perl-xml-libxml-common: +perl-xml-libxml-common: +perl-xml-libxml-common: +perl-xml-libxml-common: +perl-xml-libxml-common: +perl-xml-libxml-common: +perl-xml-libxml-common: diff --git a/perl/perl-xml-libxml/README b/perl/perl-xml-libxml/README new file mode 100644 index 0000000000000..8a7e2e2f2d783 --- /dev/null +++ b/perl/perl-xml-libxml/README @@ -0,0 +1,4 @@ +XML::LibXML - Perl Binding for libxml2 + +This requires the following from SlackBuilds.org: + XML::NamespaceSupport, XML::LibXML::Common, XML::SAX diff --git a/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild new file mode 100644 index 0000000000000..b5752269f2d4b --- /dev/null +++ b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild @@ -0,0 +1,69 @@ +#!/bin/sh + +# Slackware build script for perl-xml-namespacesupport + +# Written by Murat D. Kadirov <banderols@gmail.com> + +PRGNAM=perl-xml-libxml +SRCNAM=XML-LibXML +VERSION=1.64 +BUILD=${BUILD:-2} +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} + +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 . + +perl Makefile.PL +make \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 \ + install_vendor \ + DESTDIR=$PKG + +( cd $PKG/usr/man || exit 1 + find . -type f -exec gzip -9 {} \; + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done +) +( cd $PKG + find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* + +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-xml-libxml/perl-xml-libxml.info b/perl/perl-xml-libxml/perl-xml-libxml.info new file mode 100644 index 0000000000000..24704aaf72138 --- /dev/null +++ b/perl/perl-xml-libxml/perl-xml-libxml.info @@ -0,0 +1,10 @@ +PRGNAM="perl-xml-libxml" +VERSION="1.64" +HOMEPAGE="http://search.cpan.org/~pajas/XML-LibXML-1.64/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXML-1.64.tar.gz" +MD5SUM="563a685d2aad2ace13a55acfeb818912" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Murat D. Kadirov" +EMAIL="banderols@gmail.com" +APPROVED="rworkman" diff --git a/perl/perl-xml-libxml/slack-desc b/perl/perl-xml-libxml/slack-desc new file mode 100644 index 0000000000000..354afda177b73 --- /dev/null +++ b/perl/perl-xml-libxml/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-xml-libxml: XML::LibXML (perl module) +perl-xml-libxml: +perl-xml-libxml: Perl Binding for libxml2 +perl-xml-libxml: +perl-xml-libxml: +perl-xml-libxml: +perl-xml-libxml: +perl-xml-libxml: +perl-xml-libxml: +perl-xml-libxml: +perl-xml-libxml: diff --git a/perl/perl-xml-namespacesupport/README b/perl/perl-xml-namespacesupport/README new file mode 100644 index 0000000000000..abe069c20463d --- /dev/null +++ b/perl/perl-xml-namespacesupport/README @@ -0,0 +1,3 @@ +XML::NamespaceSupport + +Simple generic namespace support class diff --git a/perl/perl-xml-namespacesupport/perl-xml-namespacesupport.SlackBuild b/perl/perl-xml-namespacesupport/perl-xml-namespacesupport.SlackBuild new file mode 100644 index 0000000000000..b65da73938314 --- /dev/null +++ b/perl/perl-xml-namespacesupport/perl-xml-namespacesupport.SlackBuild @@ -0,0 +1,64 @@ +#!/bin/sh + +# Slackware build script for perl-xml-namespacesupport + +# Written by Murat D. Kadirov <banderols@gmail.com> +# Modified by SlackBuils.org + +PRGNAM=perl-xml-namespacesupport +SRCNAM=XML-NamespaceSupport +VERSION=1.09 +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} + +DOCS="Changes README" + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $SRCNAM-$VERSION +tar -xzvf $CWD/$SRCNAM-$VERSION.tar.gz || exit 1 +cd $SRCNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +perl Makefile.PL || exit 1 +make || exit 1 +make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1 + +mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share +gzip -9 $PKG/usr/man/man3/* 2> /dev/null + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* + +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-xml-namespacesupport/perl-xml-namespacesupport.info b/perl/perl-xml-namespacesupport/perl-xml-namespacesupport.info new file mode 100644 index 0000000000000..05ff39f56dbcf --- /dev/null +++ b/perl/perl-xml-namespacesupport/perl-xml-namespacesupport.info @@ -0,0 +1,10 @@ +PRGNAM="perl-xml-namespacesupport" +VERSION="1.09" +HOMEPAGE="http://search.cpan.org/~rberjon/XML-NamespaceSupport-1.09/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RB/RBERJON/XML-NamespaceSupport-1.09.tar.gz" +MD5SUM="b0867d7b599d8a63ba630fa6227936fe" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Murat D. Kadirov" +EMAIL="banderols@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-xml-namespacesupport/slack-desc b/perl/perl-xml-namespacesupport/slack-desc new file mode 100644 index 0000000000000..f60082f5e25db --- /dev/null +++ b/perl/perl-xml-namespacesupport/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-xml-namespacesupport: XML::NamespaceSupport (perl module) +perl-xml-namespacesupport: +perl-xml-namespacesupport: Simple generic namespace support class +perl-xml-namespacesupport: +perl-xml-namespacesupport: +perl-xml-namespacesupport: +perl-xml-namespacesupport: +perl-xml-namespacesupport: +perl-xml-namespacesupport: +perl-xml-namespacesupport: +perl-xml-namespacesupport: diff --git a/perl/perl-xml-sax/README b/perl/perl-xml-sax/README new file mode 100644 index 0000000000000..622528b863ae0 --- /dev/null +++ b/perl/perl-xml-sax/README @@ -0,0 +1,4 @@ +XML::SAX - Simple API for XML + +In order to build it from source, you'll also need XML::NamespaceSupport +(also available from SlackBuilds.org) diff --git a/perl/perl-xml-sax/doinst.sh b/perl/perl-xml-sax/doinst.sh new file mode 100644 index 0000000000000..1cf8c348778fe --- /dev/null +++ b/perl/perl-xml-sax/doinst.sh @@ -0,0 +1,7 @@ +if [ -f usr/lib/perl5/vendor_perl/5.10.0/XML/SAX/ParserDetails.ini ]; then + echo "ParserDetails.ini file already installed."; +else + perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" + echo "Creating ParserDetails.ini..." +fi + diff --git a/perl/perl-xml-sax/perl-xml-sax.SlackBuild b/perl/perl-xml-sax/perl-xml-sax.SlackBuild new file mode 100644 index 0000000000000..195777a1629d4 --- /dev/null +++ b/perl/perl-xml-sax/perl-xml-sax.SlackBuild @@ -0,0 +1,68 @@ +#!/bin/sh + +# Slackware build script for perl-xml-namespacesupport + +# Written by Murat D. Kadirov <banderols@gmail.com> +# Modified by SlackBuils.org + +PRGNAM=perl-xml-sax +SRCNAM=XML-SAX +VERSION=0.16 +BUILD=${BUILD:-2} +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} + +DOCS="Changes README LICENSE" + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $SRCNAM-$VERSION +tar -xzvf $CWD/$SRCNAM-$VERSION.tar.gz || exit 1 +cd $SRCNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +perl Makefile.PL || exit 1 + +# Comment out the test for ParserDetails.ini, we'll do this from the doinst.sh +sed -i -e 's,@\$(PERL),#@\$(PERL),' Makefile +make || exit 1 +make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1 + +mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share +gzip -9 $PKG/usr/man/man3/* 2> /dev/null + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh +cd $PKG + +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/perl/perl-xml-sax/perl-xml-sax.info b/perl/perl-xml-sax/perl-xml-sax.info new file mode 100644 index 0000000000000..eafb9ba5b58aa --- /dev/null +++ b/perl/perl-xml-sax/perl-xml-sax.info @@ -0,0 +1,10 @@ +PRGNAM="perl-xml-sax" +VERSION="0.16" +HOMEPAGE="http://search.cpan.org/~grantm/XML-SAX-0.16/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-SAX-0.16.tar.gz" +MD5SUM="4b07b6a9884f772ee07139b385661e9d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Murat D. Kadirov" +EMAIL="banderols@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-xml-sax/slack-desc b/perl/perl-xml-sax/slack-desc new file mode 100644 index 0000000000000..8771fdccabe19 --- /dev/null +++ b/perl/perl-xml-sax/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-xml-sax: XML::SAX (perl module) +perl-xml-sax: +perl-xml-sax: Simple API for XML +perl-xml-sax: +perl-xml-sax: +perl-xml-sax: +perl-xml-sax: +perl-xml-sax: +perl-xml-sax: +perl-xml-sax: +perl-xml-sax: diff --git a/perl/perl-xml-twig/README b/perl/perl-xml-twig/README new file mode 100644 index 0000000000000..eb59f3acf4309 --- /dev/null +++ b/perl/perl-xml-twig/README @@ -0,0 +1,5 @@ +XML::Twig is (yet another!) XML transformation module. +Its strong points: can be used to process huge documents while +still being in tree mode; not bound by DOM or SAX, so it is +very perlish and offers a very comprehensive set of methods; +simple to use; DWIMs as much as possible. diff --git a/perl/perl-xml-twig/perl-xml-twig.SlackBuild b/perl/perl-xml-twig/perl-xml-twig.SlackBuild new file mode 100644 index 0000000000000..d6f3b91f01394 --- /dev/null +++ b/perl/perl-xml-twig/perl-xml-twig.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +# Slackware build script for perl-xml-twig + +# 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=perl-xml-twig +VERSION=3.34 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=XML-Twig + +# 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} + +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 . + +perl Makefile.PL -y 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 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-xml-twig/perl-xml-twig.info b/perl/perl-xml-twig/perl-xml-twig.info new file mode 100644 index 0000000000000..2072ddab65160 --- /dev/null +++ b/perl/perl-xml-twig/perl-xml-twig.info @@ -0,0 +1,10 @@ +PRGNAM="perl-xml-twig" +VERSION="3.34" +HOMEPAGE="http://xmltwig.com/xmltwig/" +DOWNLOAD="http://xmltwig.com/xmltwig/XML-Twig-3.34.tar.gz" +MD5SUM="e0d39cb8114870cc88fbe52cbb9762da" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Heinz Wiesinger" +EMAIL="pprkut@liwjatan.at" +APPROVED="rworkman" diff --git a/perl/perl-xml-twig/slack-desc b/perl/perl-xml-twig/slack-desc new file mode 100644 index 0000000000000..36a85080412cf --- /dev/null +++ b/perl/perl-xml-twig/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-xml-twig: perl-xml-twig (Perl XML transformation module) +perl-xml-twig: +perl-xml-twig: XML::Twig is (yet another!) XML transformation module. +perl-xml-twig: Its strong points: can be used to process huge documents while +perl-xml-twig: still being in tree mode; not bound by DOM or SAX, so it is +perl-xml-twig: very perlish and offers a very comprehensive set of methods; +perl-xml-twig: simple to use; DWIMs as much as possible. +perl-xml-twig: +perl-xml-twig: Homepage: http://xmltwig.com/xmltwig/ +perl-xml-twig: +perl-xml-twig: |