diff options
author | David Somero <dsomero@hotmail.com> | 2010-05-11 22:24:27 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:24:27 +0200 |
commit | a40ef1076d337a41e25a618d0e4c19c10afc4ce3 (patch) | |
tree | c0a7ce0349d9dfb8c745dd6e96160aac2e0977cb /libraries/xmltv_prereq/xmltv_prereq.SlackBuild | |
parent | e85138a8c5b871fc36576ea8038ec5bce0b643f8 (diff) | |
download | slackbuilds-a40ef1076d337a41e25a618d0e4c19c10afc4ce3.tar.gz |
libraries/xmltv_prereq: Updated for version 8
Diffstat (limited to 'libraries/xmltv_prereq/xmltv_prereq.SlackBuild')
-rw-r--r-- | libraries/xmltv_prereq/xmltv_prereq.SlackBuild | 20 |
1 files changed, 10 insertions, 10 deletions
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 |