summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/xmltv_prereq/README5
-rw-r--r--libraries/xmltv_prereq/xmltv_prereq.SlackBuild20
2 files changed, 13 insertions, 12 deletions
diff --git a/libraries/xmltv_prereq/README b/libraries/xmltv_prereq/README
index 723f4de769..a95776a20a 100644
--- a/libraries/xmltv_prereq/README
+++ b/libraries/xmltv_prereq/README
@@ -2,10 +2,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
+ DateManip-5.44 XML-NamespaceSupport-1.09 libwww-perl-5.805
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
+
+Requires Compress-Zlib availible at SlackBuilds.org \ No newline at end of file
diff --git a/libraries/xmltv_prereq/xmltv_prereq.SlackBuild b/libraries/xmltv_prereq/xmltv_prereq.SlackBuild
index 6d6d86d049..34d624dc8c 100644
--- a/libraries/xmltv_prereq/xmltv_prereq.SlackBuild
+++ b/libraries/xmltv_prereq/xmltv_prereq.SlackBuild
@@ -21,18 +21,19 @@
# 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}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${TMP}/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
+set -e # Exit on most errors
+
## List of modules to compile
MODULES="
00_Class-MethodMaker-2.09
@@ -44,7 +45,6 @@ MODULES="
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
@@ -70,22 +70,22 @@ 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
+export PERL5LIB=$PKG/usr/lib/perl5/vendor_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
+ perl Makefile.PL --mech-dump
else
- perl Makefile.PL -n
+ perl Makefile.PL -n
fi
make
- make pure_install DESTDIR=${PKG:-/}
+ make pure_vendor_install DESTDIR=$PKG/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
- cp -a README $PKG/usr/doc/$PRGNAM-$VERSION/README.$MODULE
-); done
+ cp -a README $PKG/usr/doc/$PRGNAM-$VERSION/README.$MODULE || true
+) || exit 1 ; done
mv $PKG/usr/share/man $PKG/usr
rmdir $PKG/usr/share