wok annotate perl-config-general/receipt @ rev 25137
updated phpmyadmin (5.0.2 -> 5.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 11:08:48 2022 +0100 (2022-06-29) |
parents | ce99e3856f9c |
children | 0af8df0b46fc |
rev | line source |
---|---|
pascal@14698 | 1 # SliTaz package receipt. |
pascal@14698 | 2 |
pascal@14698 | 3 PACKAGE="perl-config-general" |
Hans-G?nter@23301 | 4 VERSION="2.63" |
pascal@14698 | 5 CATEGORY="development" |
Hans-G?nter@23301 | 6 SHORT_DESC="Perl extension Config::General." |
pascal@14698 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23301 | 9 WEB_SITE="https://metacpan.org/release/Config-General" |
Hans-G?nter@23301 | 10 |
Hans-G?nter@23301 | 11 SOURCE="Config-General" |
Hans-G?nter@23301 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23301 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Config/$TARBALL" |
Hans-G?nter@23301 | 14 |
pascal@14698 | 15 DEPENDS="perl" |
pascal@14698 | 16 BUILD_DEPENDS="perl" |
pascal@14698 | 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|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@14698 | 24 # Rules to configure and make the package. |
pascal@14698 | 25 compile_rules() |
pascal@14698 | 26 { |
pascal@14698 | 27 perl Makefile.PL && |
pascal@14698 | 28 make && |
pascal@14698 | 29 make install DESTDIR=$DESTDIR |
pascal@14698 | 30 } |
pascal@14698 | 31 |
pascal@14698 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14698 | 33 genpkg_rules() |
pascal@14698 | 34 { |
pascal@14698 | 35 mkdir -p $fs/usr |
Hans-G?nter@23301 | 36 cp -a $install/usr/lib $fs/usr |
pascal@14698 | 37 } |