wok-current annotate perltidy/receipt @ rev 25256
updated qrencode and qrencode-dev (4.0.2 -> 4.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 06:38:49 2022 +0100 (2022-07-15) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
nneul@17897 | 1 # SliTaz package receipt. |
nneul@17897 | 2 |
nneul@17897 | 3 PACKAGE="perltidy" |
Hans-G?nter@24272 | 4 VERSION="20211029" |
nneul@17897 | 5 CATEGORY="development" |
Hans-G?nter@23422 | 6 SHORT_DESC="Perl Code Formatter." |
nneul@17897 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@17897 | 8 LICENSE="GPL" |
Hans-G?nter@24272 | 9 WEB_SITE="https://metacpan.org/pod/Perl::Tidy" |
Hans-G?nter@23422 | 10 |
Hans-G?nter@23422 | 11 SOURCE="Perl-Tidy" |
Hans-G?nter@23422 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23422 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Perl/$TARBALL" |
Hans-G?nter@23422 | 14 |
nneul@17897 | 15 DEPENDS="perl" |
nneul@17897 | 16 BUILD_DEPENDS="perl" |
nneul@17897 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
nneul@17897 | 24 # Rules to configure and make the package. |
nneul@17897 | 25 compile_rules() |
nneul@17897 | 26 { |
nneul@17897 | 27 perl Makefile.PL && |
nneul@17897 | 28 make && |
Hans-G?nter@24272 | 29 make install DESTDIR=$DESTDIR |
nneul@17897 | 30 } |
nneul@17897 | 31 |
nneul@17897 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17897 | 33 genpkg_rules() |
nneul@17897 | 34 { |
Hans-G?nter@24272 | 35 cook_copy_folders bin |
Hans-G?nter@24272 | 36 cook_copy_folders lib |
nneul@17904 | 37 |
nneul@17897 | 38 # remove perllocal.pod and .packlist |
Hans-G?nter@23422 | 39 find $fs -name perllocal.pod -delete |
Hans-G?nter@23422 | 40 find $fs -name .packlist -delete |
nneul@17897 | 41 } |