mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/perl-extutils-depends: Updated for version 0.205
This commit is contained in:
parent
3126b67546
commit
a4a07de95e
2 changed files with 12 additions and 10 deletions
|
@ -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}
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="perl-extutils-depends"
|
|||
VERSION="0.205"
|
||||
HOMEPAGE="http://gtk2-perl.sourceforge.net"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/gtk2-perl/ExtUtils-Depends-0.205.tar.gz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="02c22a93ec9efb8e457764114ce24eb4"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Michael Wagner"
|
||||
EMAIL="lapinours@web.de"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue