diff options
-rw-r--r-- | libraries/IO-Zlib/IO-Zlib.SlackBuild | 99 | ||||
-rw-r--r-- | libraries/IO-Zlib/IO-Zlib.info | 8 | ||||
-rw-r--r-- | libraries/IO-Zlib/README | 7 | ||||
-rw-r--r-- | libraries/IO-Zlib/slack-desc | 19 |
4 files changed, 0 insertions, 133 deletions
diff --git a/libraries/IO-Zlib/IO-Zlib.SlackBuild b/libraries/IO-Zlib/IO-Zlib.SlackBuild deleted file mode 100644 index b9b154ddb66fd..0000000000000 --- a/libraries/IO-Zlib/IO-Zlib.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# Slackware build script for IO-Zlib - -# 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. - -# This script was retooled to work as a build script for IO::Zlib -# by Robert Delahunt <twinreverb@puresimplicity.net> - -PRGNAM=IO-Zlib -VERSION=${VERSION:-1.09} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -DOCFILES="ChangeLog 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 # 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" | 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 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 {} \; - -# Strip libraries -( cd $PKG - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - -# 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.tgz diff --git a/libraries/IO-Zlib/IO-Zlib.info b/libraries/IO-Zlib/IO-Zlib.info deleted file mode 100644 index 51f62dd602fd9..0000000000000 --- a/libraries/IO-Zlib/IO-Zlib.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="IO-Zlib" -VERSION="1.09" -HOMEPAGE="http://search.cpan.org/dist/IO-Zlib/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TO/TOMHUGHES/IO-Zlib-1.09.tar.gz" -MD5SUM="0758cc9daaab62883ebefae8d74c4a5f" -MAINTAINER="Robert Delahunt" -EMAIL="twinreverb@puresimplicity.net" -APPROVED="rworkman" diff --git a/libraries/IO-Zlib/README b/libraries/IO-Zlib/README deleted file mode 100644 index 4d21350257c3c..0000000000000 --- a/libraries/IO-Zlib/README +++ /dev/null @@ -1,7 +0,0 @@ -IO-Zlib - perl IO:: style interface to Compress::Zlib - -"IO::Zlib provides an IO:: style interface to Compress::Zlib and -hence to gzip/zlib compressed files. It provides many of the -same methods as the IO::Handle interface." - -Requires: Compress::Zlib diff --git a/libraries/IO-Zlib/slack-desc b/libraries/IO-Zlib/slack-desc deleted file mode 100644 index ca68109272603..0000000000000 --- a/libraries/IO-Zlib/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. -# - |-----handy-ruler-------------------------------------------------| -IO-Zlib: IO-Zlib (perl IO:: style interface to Compress::Zlib) -IO-Zlib: -IO-Zlib: Perl IO::Zlib "provides an IO:: style interface to Compress::Zlib -IO-Zlib: and hence to gzip/zlib compressed files. It provides many of the -IO-Zlib: same methods as the IO::Handle interface. Starting from IO::Zlib -IO-Zlib: version 1.02, IO::Zlib can also use an external gzip command." -IO-Zlib: -IO-Zlib: -IO-Zlib: Homepage: http://search.cpan.org/dist/IO-Zlib/ -IO-Zlib: -IO-Zlib: |