# HG changeset patch # User Hans-G?nter Theisgen # Date 1585725105 -3600 # Node ID c3ea0afd1174de381d9fbf4bed7130820912b706 # Parent 396f1a263e341a5ef1c04dc933310ecf0806109e updated perltidy (20140711 -> 20200110) diff -r 396f1a263e34 -r c3ea0afd1174 perltidy/receipt --- a/perltidy/receipt Wed Apr 01 08:00:18 2020 +0100 +++ b/perltidy/receipt Wed Apr 01 08:11:45 2020 +0100 @@ -1,22 +1,23 @@ # SliTaz package receipt. PACKAGE="perltidy" -VERSION="20140711" +VERSION="20200110" CATEGORY="development" -SHORT_DESC="Perl Code Formatter" +SHORT_DESC="Perl Code Formatter." MAINTAINER="nneul@neulinger.org" LICENSE="GPL" +WEB_SITE="https://metacpan.org/release/Perl-Tidy/" + +SOURCE="Perl-Tidy" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://www.cpan.org/modules/by-module/Perl/$TARBALL" + DEPENDS="perl" BUILD_DEPENDS="perl" -SOURCE="Perl-Tidy" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://metacpan.org/release/Perl-Tidy/" -WGET_URL="http://www.cpan.org/authors/id/S/SH/SHANCOCK/$TARBALL" # Rules to configure and make the package. compile_rules() { - cd $src perl Makefile.PL && make && make DESTDIR=$DESTDIR install @@ -26,11 +27,10 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr # remove perllocal.pod and .packlist - find ${fs} -name perllocal.pod -delete - find ${fs} -name .packlist -delete + find $fs -name perllocal.pod -delete + find $fs -name .packlist -delete } -