perl/perl-Template-Toolkit: Removed (added to Slackware).

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2020-11-22 10:24:25 +01:00 committed by Robby Workman
parent 7de9df251e
commit 68a2a3414e
4 changed files with 0 additions and 117 deletions

View file

@ -1,6 +0,0 @@
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.

View file

@ -1,82 +0,0 @@
#!/bin/sh
# Slackware build script for perl-Template-Toolkit
# Written by Thomas Morper <thomas@beingboiled.info>
PRGNAM=perl-Template-Toolkit
VERSION=${VERSION:-3.009}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -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 -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Makefile.PL \
TT_ACCEPT=y \
PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
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 {} \;
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.md 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}

View file

@ -1,10 +0,0 @@
PRGNAM="perl-Template-Toolkit"
VERSION="3.009"
HOMEPAGE="https://metacpan.org/release/Template-Toolkit"
DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/Template-Toolkit-3.009.tar.gz"
MD5SUM="f1c401067b728337a8a8c0d4ae642af8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-AppConfig"
MAINTAINER="Thomas Morper"
EMAIL="thomas@beingboiled.info"

View file

@ -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 ':' except on otherwise blank lines.
|-----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: