mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/xmltv_prereq: Updated for version 8
This commit is contained in:
parent
e85138a8c5
commit
a40ef1076d
2 changed files with 13 additions and 12 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue