summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-05-11 20:01:06 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:01:06 +0200
commit6482c553ce5ed4777d0a36e30107bbb6a3d9b48f (patch)
treeeec30ae8eff26405d83d2110d62a17cda2f068e1 /libraries
parent7f9218533271ca964c75bb6b3b78810782c1662a (diff)
downloadslackbuilds-6482c553ce5ed4777d0a36e30107bbb6a3d9b48f.tar.gz
libraries/xmltv_prereq: Added to 12.0 repository
Diffstat (limited to 'libraries')
-rw-r--r--libraries/xmltv_prereq/README11
-rw-r--r--libraries/xmltv_prereq/slack-desc19
-rw-r--r--libraries/xmltv_prereq/xmltv_prereq.SlackBuild111
-rw-r--r--libraries/xmltv_prereq/xmltv_prereq.info8
4 files changed, 149 insertions, 0 deletions
diff --git a/libraries/xmltv_prereq/README b/libraries/xmltv_prereq/README
new file mode 100644
index 0000000000..723f4de769
--- /dev/null
+++ b/libraries/xmltv_prereq/README
@@ -0,0 +1,11 @@
+xmltv_prereq is a package of several perl modules required to build and
+run xmltv. The package includes the following:
+
+ Class-MethodMaker-2.09 HTML-Tagset-3.10 TermReadKey-2.30 Tk-804.027
+ Compress-Zlib-2.003 DateManip-5.44 XML-NamespaceSupport-1.09
+ HTML-TableExtract-2.1 HTML-Tree-3.23 Lingua-EN-Numbers-Ordinate-1.02
+ Lingua-Preferred-0.2.4 PerlIO-gzip-0.18 SOAP-Lite-0.69
+ Term-ProgressBar-2.09 Tk-TableMatrix-1.23 Unicode-String-2.09
+ XML-LibXML-1.62 XML-Twig-3.29 XML-Writer-0.602 WWW-Mechanize-1.20
+ XML-LibXML-Common-0.13 HTML-Parser-3.56 xmltv_prereq1: XML-SAX-0.15
+ libwww-perl-5.805
diff --git a/libraries/xmltv_prereq/slack-desc b/libraries/xmltv_prereq/slack-desc
new file mode 100644
index 0000000000..a7fa17e7f3
--- /dev/null
+++ b/libraries/xmltv_prereq/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-----------------------------------------------|
+xmltv_prereq: xmltv_prereq (required perl modules for xmltv)
+xmltv_prereq:
+xmltv_prereq: Includes the following perl modules:
+xmltv_prereq:
+xmltv_prereq: Class-MethodMaker HTML-Tagset TermReadKey Compress-Zlib
+xmltv_prereq: DateManip XML-NamespaceSupport HTML-TableExtract HTML-Tree
+xmltv_prereq: Lingua-EN-Numbers-Ordinate Lingua-Preferred PerlIO-gzip
+xmltv_prereq: SOAP-Lite Term-ProgressBar Tk-TableMatrix Unicode-String
+xmltv_prereq: XML-LibXML XML-Twig XML-Writer WWW-Mechanize Tk
+xmltv_prereq: XML-LibXML-Common HTML-Parser XML-SAX libwww-perl
+xmltv_prereq:
diff --git a/libraries/xmltv_prereq/xmltv_prereq.SlackBuild b/libraries/xmltv_prereq/xmltv_prereq.SlackBuild
new file mode 100644
index 0000000000..6d6d86d049
--- /dev/null
+++ b/libraries/xmltv_prereq/xmltv_prereq.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/sh
+# Slackware Build Script for xmltv_prereq
+
+# Copyright 2006-2007 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.
+
+set -e # Exit on most errors
+
+PRGNAM=xmltv_prereq
+VERSION=8
+ARCH=noarch
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=${TMP}/package-${PRGNAM}
+OUTPUT=${OUTPUT:-/tmp}
+
+## List of modules to compile
+MODULES="
+00_Class-MethodMaker-2.09
+00_HTML-Tagset-3.10
+00_TermReadKey-2.30
+00_Tk-804.027
+00_XML-LibXML-Common-0.13
+00_XML-NamespaceSupport-1.09
+01_HTML-Parser-3.56
+01_XML-SAX-0.15
+01_libwww-perl-5.805
+Compress-Zlib-2.003
+DateManip-5.44
+HTML-TableExtract-2.10
+HTML-Tree-3.23
+Lingua-EN-Numbers-Ordinate-1.02
+Lingua-Preferred-0.2.4
+PerlIO-gzip-0.18
+SOAP-Lite-0.69
+Term-ProgressBar-2.09
+Tk-TableMatrix-1.23
+Unicode-String-2.09
+XML-LibXML-1.62
+XML-Twig-3.29
+XML-Writer-0.602
+WWW-Mechanize-1.20
+"
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+export PERL5LIB=$PKG/usr/lib/perl5/site_perl/5.8.8
+
+for MODULE in $MODULES ; do
+( cd $MODULE
+ if [ "$MODULE" = "00_Class-MethodMaker-2.09" ]; then
+ perl Makefile.PL
+ elif [ "$MODULE" = "WWW-Mechanize-1.20" ]; then
+ perl Makefile.PL --mech-dump
+ else
+ perl Makefile.PL -n
+ fi
+ make
+ make pure_install DESTDIR=${PKG:-/}
+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+ cp -a README $PKG/usr/doc/$PRGNAM-$VERSION/README.$MODULE
+); done
+
+mv $PKG/usr/share/man $PKG/usr
+rmdir $PKG/usr/share
+
+( cd $PKG/usr/man
+ find . -name "*.?" -type f 2> /dev/null | xargs gzip -9 2> /dev/null
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+)
+
+# Remove perlocal.pod and .packlist from $PKG
+( cd $PKG
+ find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
+)
+
+cat README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+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.tgz
diff --git a/libraries/xmltv_prereq/xmltv_prereq.info b/libraries/xmltv_prereq/xmltv_prereq.info
new file mode 100644
index 0000000000..d9a6ef22f9
--- /dev/null
+++ b/libraries/xmltv_prereq/xmltv_prereq.info
@@ -0,0 +1,8 @@
+PRGNAM="xmltv_prereq"
+VERSION="8"
+HOMEPAGE="http://xmltv.org/wiki/"
+DOWNLOAD="http://downloads.sourceforge.net/xmltv/xmltv_prereq-8.tar.bz2"
+MD5SUM="3b2fd40679b0955fe2054f2f447c3a98"
+MAINTAINER="David Somero"
+EMAIL="dsomero@hotmail.com"
+APPROVED="rworkman"