From b76270bf9e6dd375e495fec92140a79a79415d27 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 19 May 2010 08:58:23 +0000 Subject: Slackware 13.1 Wed May 19 08:58:23 UTC 2010 Slackware 13.1 x86_64 stable is released! Lots of thanks are due -- see the RELEASE_NOTES and the rest of the ChangeLog for credits. The ISOs are on their way to replication, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. We are taking pre-orders now at store.slackware.com, and offering a discount if you sign up for a subscription. Consider picking up a copy to help support the project. Thanks again to the Slackware community for testing, contributing, and generally holding us to a high level of quality. :-) Enjoy! --- source/d/perl/doinst.sh | 13 ------------- source/d/perl/perl.SlackBuild | 39 ++++++++++++++++++++++++++++----------- 2 files changed, 28 insertions(+), 24 deletions(-) delete mode 100644 source/d/perl/doinst.sh (limited to 'source/d/perl') diff --git a/source/d/perl/doinst.sh b/source/d/perl/doinst.sh deleted file mode 100644 index 8d2debb06..000000000 --- a/source/d/perl/doinst.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -config() { - NEW="$1" - OLD="`dirname $NEW`/`basename $NEW .new`" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} -config usr/lib/perl5/5.10.0/i486-linux-thread-multi/perllocal.pod.new diff --git a/source/d/perl/perl.SlackBuild b/source/d/perl/perl.SlackBuild index 9aa963d6a..a58d8a7ed 100755 --- a/source/d/perl/perl.SlackBuild +++ b/source/d/perl/perl.SlackBuild @@ -24,22 +24,24 @@ # originally by: David Cantrell # maintained by: -VERSION=5.10.0 +VERSION=5.10.1 # IMPORTANT: also update -Dinc_version_list in ./configure below! ARCH=${ARCH:-x86_64} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} + +NUMJOBS=${NUMJOBS:--j6} CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-perl # Additional required modules: -DBI=1.607 -DBDMYSQL=4.008 +DBDMYSQL=4.013 +DBI=1.609 +URI=1.40 XMLPARSER=2.36 XMLSIMPLE=2.18 -URI=1.37 if [ "$ARCH" = "i386" ]; then SLKCFLAGS="-O2 -march=i386 -mcpu=i686" @@ -70,7 +72,7 @@ mkdir -p $PKG # Extract the source code: cd $TMP rm -rf perl-$VERSION -tar xvf $CWD/perl-$VERSION.tar.bz2 +tar xvf $CWD/perl-$VERSION.tar.?z* || exit 1 # Change into the source directory: cd perl-$VERSION @@ -115,7 +117,7 @@ fi -Doptimize="$SLKCFLAGS" \ $USE_THREADS \ -Dpager='/usr/bin/less -isr' \ - -Dinc_version_list='5.8.8 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0' \ + -Dinc_version_list='5.10.0 5.8.8 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0' \ -Darchname=$ARCH-linux # Kludge for gcc-4.2.4's needlessly changed output: @@ -125,7 +127,7 @@ cat x2p/makefile | grep -v '\' > foo mv foo x2p/makefile # Build perl -make -j6 || exit 1 +make $NUMJOBS || exit 1 make test # Install perl (needed to build modules): @@ -257,11 +259,26 @@ fi # Insert the slack-desc: mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -zcat $CWD/doinst.sh.gz | \ - sed -e "s#/lib/#/lib${LIBDIRSUFFIX}/#" | sed -e "s#i486#$ARCH#" \ + + +cat << EOF | sed -e "s#/lib/#/lib${LIBDIRSUFFIX}/#" | sed -e "s#i486#$ARCH#" \ > $PKG/install/doinst.sh +#!/bin/sh +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} +config usr/lib/perl5/${VERSION}/i486-linux-thread-multi/perllocal.pod.new +EOF # Build the package: cd $PKG -makepkg -l y -c n $TMP/perl-$VERSION-$ARCH-$BUILD.txz +/sbin/makepkg -l y -c n $TMP/perl-$VERSION-$ARCH-$BUILD.txz -- cgit v1.2.3