diff options
author | Michael Wagner <lapinours@web.de> | 2010-05-13 00:32:54 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:32:54 +0200 |
commit | 1a51dc845f2415638e8dfeac5c2f836dc218f195 (patch) | |
tree | 074ad2d90015056697c063f468e2893121f331e9 /libraries/perl-test-number-delta | |
parent | 5fd23352b3bacd3eed72106749dcecd165927b83 (diff) | |
download | slackbuilds-1a51dc845f2415638e8dfeac5c2f836dc218f195.tar.gz |
libraries/perl-test-number-delta: Updated for version 1.03
Diffstat (limited to 'libraries/perl-test-number-delta')
-rw-r--r-- | libraries/perl-test-number-delta/perl-test-number-delta.SlackBuild | 22 | ||||
-rw-r--r-- | libraries/perl-test-number-delta/perl-test-number-delta.info | 2 |
2 files changed, 14 insertions, 10 deletions
diff --git a/libraries/perl-test-number-delta/perl-test-number-delta.SlackBuild b/libraries/perl-test-number-delta/perl-test-number-delta.SlackBuild index 6b37afa9aa..bfbda0c8b9 100644 --- a/libraries/perl-test-number-delta/perl-test-number-delta.SlackBuild +++ b/libraries/perl-test-number-delta/perl-test-number-delta.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=perl-test-number-delta SRCNAM=Test-Number-Delta VERSION=1.03 -ARCH=noarch +ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,20 +34,20 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="Changes INSTALL LICENSE README Todo" +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,9 @@ 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 INSTALL LICENSE README Todo \ + $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 +72,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-test-number-delta/perl-test-number-delta.info b/libraries/perl-test-number-delta/perl-test-number-delta.info index a31b590948..f6d223227e 100644 --- a/libraries/perl-test-number-delta/perl-test-number-delta.info +++ b/libraries/perl-test-number-delta/perl-test-number-delta.info @@ -2,7 +2,9 @@ PRGNAM="perl-test-number-delta" VERSION="1.03" HOMEPAGE="http://search.cpan.org/~dagolden/Test-Number-Delta-1.03/" DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.03.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="17d3eec2d5bbe012c4a797af8e75ae39" +MD5SUM_x86_64="" MAINTAINER="Michael Wagner" EMAIL="lapinours@web.de" APPROVED="rworkman" |