summaryrefslogtreecommitdiff
path: root/libraries/xmltv_prereq/xmltv_prereq.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-05-13 00:33:56 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:33:56 +0200
commitb5f66a54ab2760e82b19ffaec5ecc76bd864b961 (patch)
treee0f3d9aafc897d4b2127c010210acbd547659a73 /libraries/xmltv_prereq/xmltv_prereq.SlackBuild
parentd3fb92747231e380681f54d5d0924e84abe11070 (diff)
downloadslackbuilds-b5f66a54ab2760e82b19ffaec5ecc76bd864b961.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.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/libraries/xmltv_prereq/xmltv_prereq.SlackBuild b/libraries/xmltv_prereq/xmltv_prereq.SlackBuild
index e92adb1aeb..2be92dfdcd 100644
--- a/libraries/xmltv_prereq/xmltv_prereq.SlackBuild
+++ b/libraries/xmltv_prereq/xmltv_prereq.SlackBuild
@@ -23,8 +23,8 @@
PRGNAM=xmltv_prereq
VERSION=8
-ARCH=noarch
-BUILD=${BUILD:-3}
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -70,7 +70,8 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-export PERL5LIB+=$PKG/usr/lib/perl5/vendor_perl/5.10.0
+eval $(perl '-V:vendorlib')
+export PERL5LIB+=$PKG/$vendorlib
for MODULE in $MODULES ; do
( cd $MODULE
@@ -108,4 +109,4 @@ 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
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}