aboutsummaryrefslogtreecommitdiff
path: root/libraries/perl-extutils-pkgconfig
diff options
context:
space:
mode:
authorMichael Wagner <lapinours@web.de>2010-05-13 00:32:46 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:32:46 +0200
commitbeacb298a3bba61c857ce6a0472a3cc294d4ef98 (patch)
tree17ab7cb4c7ea278f1e398b4c5fae8031e0483724 /libraries/perl-extutils-pkgconfig
parenta4a07de95e37c697d0520b1aa1f4d72c19b6ac35 (diff)
libraries/perl-extutils-pkgconfig: Updated for version 1.08
Diffstat (limited to 'libraries/perl-extutils-pkgconfig')
-rw-r--r--libraries/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild22
-rw-r--r--libraries/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info2
2 files changed, 13 insertions, 11 deletions
diff --git a/libraries/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild b/libraries/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild
index d9a5661944a81..43f7dc855715b 100644
--- a/libraries/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild
+++ b/libraries/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild
@@ -25,8 +25,8 @@
PRGNAM=perl-extutils-pkgconfig
SRCNAM=ExtUtils-PkgConfig
VERSION=1.08
-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
+perl Makefile.PL
+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}
diff --git a/libraries/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info b/libraries/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info
index 4dfdd9a4c2031..e84cecf5c3cd9 100644
--- a/libraries/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info
+++ b/libraries/perl-extutils-pkgconfig/perl-extutils-pkgconfig.info
@@ -2,7 +2,9 @@ PRGNAM="perl-extutils-pkgconfig"
VERSION="1.08"
HOMEPAGE="http://gtk2-perl.sourceforge.net"
DOWNLOAD="http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-PkgConfig-1.08.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="7bd9e8a7b1f0c624281b4eb0acc90384"
+MD5SUM_x86_64=""
MAINTAINER="Michael Wagner"
EMAIL="lapinours@web.de"
APPROVED="rworkman"