mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
perl/perl-HTTP-Cache-Transparent: Updated for version 1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ecbfb33f60
commit
91f0992d8c
3 changed files with 9 additions and 12 deletions
|
@ -26,7 +26,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=perl-HTTP-Cache-Transparent
|
PRGNAM=perl-HTTP-Cache-Transparent
|
||||||
VERSION=${VERSION:-1.1}
|
VERSION=${VERSION:-1.4}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ SRCNAM=HTTP-Cache-Transparent
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
@ -80,7 +80,6 @@ perl Makefile.PL \
|
||||||
INSTALLVENDORMAN1DIR=/usr/man/man1 \
|
INSTALLVENDORMAN1DIR=/usr/man/man1 \
|
||||||
INSTALLVENDORMAN3DIR=/usr/man/man3
|
INSTALLVENDORMAN3DIR=/usr/man/man3
|
||||||
make
|
make
|
||||||
make test
|
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
|
@ -94,9 +93,7 @@ find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs r
|
||||||
find $PKG -depth -type d -empty -delete || true
|
find $PKG -depth -type d -empty -delete || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a Changes README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
README \
|
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="perl-HTTP-Cache-Transparent"
|
PRGNAM="perl-HTTP-Cache-Transparent"
|
||||||
VERSION="1.1"
|
VERSION="1.4"
|
||||||
HOMEPAGE="https://metacpan.org/pod/HTTP::Cache::Transparent"
|
HOMEPAGE="https://metacpan.org/pod/HTTP::Cache::Transparent"
|
||||||
DOWNLOAD="http://www.cpan.org/authors/id/M/MA/MATTIASH/HTTP-Cache-Transparent-1.1.tar.gz"
|
DOWNLOAD="http://www.cpan.org/authors/id/M/MA/MATTIASH/HTTP-Cache-Transparent-1.4.tar.gz"
|
||||||
MD5SUM="302dc2d6400ccf7e7d6c0ed45a0efc13"
|
MD5SUM="ea3b61f2e522ae0955b768f997dd87a1"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="libwww-perl"
|
REQUIRES="libwww-perl"
|
||||||
|
|
|
@ -11,7 +11,7 @@ perl-HTTP-Cache-Transparent:
|
||||||
perl-HTTP-Cache-Transparent: Cache the result of http get-requests persistently
|
perl-HTTP-Cache-Transparent: Cache the result of http get-requests persistently
|
||||||
perl-HTTP-Cache-Transparent:
|
perl-HTTP-Cache-Transparent:
|
||||||
perl-HTTP-Cache-Transparent:
|
perl-HTTP-Cache-Transparent:
|
||||||
perl-HTTP-Cache-Transparent: Homepage: http://search.cpan.org/~mattiash/HTTP-Cache-Transparent-1.1
|
perl-HTTP-Cache-Transparent: Homepage: https://metacpan.org/pod/HTTP::Cache::Transparent
|
||||||
perl-HTTP-Cache-Transparent:
|
perl-HTTP-Cache-Transparent:
|
||||||
perl-HTTP-Cache-Transparent:
|
perl-HTTP-Cache-Transparent:
|
||||||
perl-HTTP-Cache-Transparent:
|
perl-HTTP-Cache-Transparent:
|
||||||
|
|
Loading…
Reference in a new issue