aboutsummaryrefslogtreecommitdiff
path: root/libraries/perl-extutils-depends/perl-extutils-depends.SlackBuild
diff options
context:
space:
mode:
authorMichael Wagner <lapinours@web.de>2010-05-13 00:32:45 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:32:45 +0200
commita4a07de95e37c697d0520b1aa1f4d72c19b6ac35 (patch)
tree782eab362f2d921d93c59802f24236b28b46b878 /libraries/perl-extutils-depends/perl-extutils-depends.SlackBuild
parent3126b6754615eab7e950e732160ecf86a7162b33 (diff)
libraries/perl-extutils-depends: Updated for version 0.205
Diffstat (limited to 'libraries/perl-extutils-depends/perl-extutils-depends.SlackBuild')
-rw-r--r--libraries/perl-extutils-depends/perl-extutils-depends.SlackBuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/libraries/perl-extutils-depends/perl-extutils-depends.SlackBuild b/libraries/perl-extutils-depends/perl-extutils-depends.SlackBuild
index 84bb7baa4c0e..bce702ffa308 100644
--- a/libraries/perl-extutils-depends/perl-extutils-depends.SlackBuild
+++ b/libraries/perl-extutils-depends/perl-extutils-depends.SlackBuild
@@ -25,8 +25,8 @@
PRGNAM=perl-extutils-depends
SRCNAM=ExtUtils-Depends
VERSION=0.205
-ARCH=noarch
-BUILD=${BUILD:-1}
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -34,20 +34,20 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="Changes README"
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $SRCNAM-$VERSION
-tar -xzvf $CWD/$SRCNAM-$VERSION.tar.gz || exit 1
-cd $SRCNAM-$VERSION || exit 1
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
perl Makefile.PL || exit 1
-make || exit 1
-make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
+make
+make install INSTALLDIRS=vendor DESTDIR=$PKG
mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share
gzip -9 $PKG/usr/man/man3/* 2> /dev/null
@@ -62,7 +62,7 @@ gzip -9 $PKG/usr/man/man3/* 2> /dev/null
find $PKG -depth -type d -empty -exec rm -rf {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changes README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*
@@ -70,4 +70,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}