![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 448b0f0a976e5ca7e567854a4b1f12138baa556d Author: Tim Biermann <tbier@posteo.de> Date: Mon Dec 13 12:01:29 2021 +0100 perl: use https and syntax diff --git a/perl/.signature b/perl/.signature index d0748933..b831010c 100644 --- a/perl/.signature +++ b/perl/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/core.pub -RWRJc1FUaeVeqn2/xnTqpW25SBU3NAqVvEGa1psiqOBW0Z4Fu4r4Gw05NVtGAdmojfIe/AdNKSf11RtUmalAuoTFSW9Geb8iKAY= -SHA256 (Pkgfile) = fb9e04998e22ae7de00d6bd1b1358711e91ce2ba22be671358db46fc875c5a90 +RWRJc1FUaeVeqv83ZZ1Ox7oFuBrempTMj9g+UUDrUt2PgV/waDFGG22AetEsOR1f1NdgjMoPY0nCYtuDZinsOsglCL9qyooO1QY= +SHA256 (Pkgfile) = db37c6630d0478450ebab9bc295ad345c7a4278217cbb586814c3d35e272fef5 SHA256 (.footprint) = 3088ba434aecb179261243b959555120896f1e514476005d9ce2ded25e05e2bd SHA256 (perl-5.34.0.tar.xz) = 82c2e5e5c71b0e10487a80d79140469ab1f8056349ca8545140a224dbbed7ded diff --git a/perl/Pkgfile b/perl/Pkgfile index 6085ccaf..fa521384 100644 --- a/perl/Pkgfile +++ b/perl/Pkgfile @@ -1,44 +1,44 @@ # Description: Perl programming language -# URL: https://www.perl.org/ -# Maintainer: CRUX System Team, core-ports at crux dot nu -# Depends on: db gdbm +# URL: https://www.perl.org/ +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: db gdbm name=perl version=5.34.0 release=1 -source=(http://www.cpan.org/src/5.0/$name-$version.tar.xz) +source=(https://www.cpan.org/src/5.0/$name-$version.tar.xz) build() { - cd $name-$version + cd $name-$version - ./Configure -des \ - -Dprefix=/usr \ - -Dvendorprefix=/usr \ - -Dprivlib=/usr/lib/perl5/${version%.*} \ - -Dsitelib=/usr/lib/perl5/site_perl/${version%.*} \ - -Dvendorlib=/usr/lib/perl5/site_perl/${version%.*} \ - -Darchname=linux \ - -Dman1ext=1pm \ - -Dman3ext=3pm \ - -Di_gdbm \ - -Di_db \ - -Duseshrplib \ - -Dusethreads \ - -Doptimize="$CFLAGS" - make - make DESTDIR=$PKG install + ./Configure -des \ + -Dprefix=/usr \ + -Dvendorprefix=/usr \ + -Dprivlib=/usr/lib/perl5/${version%.*} \ + -Dsitelib=/usr/lib/perl5/site_perl/${version%.*} \ + -Dvendorlib=/usr/lib/perl5/site_perl/${version%.*} \ + -Darchname=linux \ + -Dman1ext=1pm \ + -Dman3ext=3pm \ + -Di_gdbm \ + -Di_db \ + -Duseshrplib \ + -Dusethreads \ + -Doptimize="$CFLAGS" + make + make DESTDIR=$PKG install - ln -sf perl${version%-*} $PKG/usr/bin/perl - ln -sf perlbug.1pm $PKG/usr/share/man/man1/perlthanks.1pm + ln -sf perl${version%-*} $PKG/usr/bin/perl + ln -sf perlbug.1pm $PKG/usr/share/man/man1/perlthanks.1pm - find $PKG \ - -iname 'TODO*' -or \ - -iname 'Change*' -or \ - -iname 'README*' -or \ - -name '*.bs' -or \ - -name '.packlist' -or \ - -name 'perllocal.pod' | xargs rm + find $PKG \ + -iname 'TODO*' -or \ + -iname 'Change*' -or \ + -iname 'README*' -or \ + -name '*.bs' -or \ + -name '.packlist' -or \ + -name 'perllocal.pod' | xargs rm - find $PKG -depth -empty -exec rmdir {} \; - chmod -R +w $PKG + find $PKG -depth -empty -exec rmdir {} \; + chmod -R +w $PKG }