wok-current annotate perl-config-inifiles/receipt @ rev 24270
updated perl-xml-writer (0.625 -> 0.900)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:39:58 2022 +0100 (2022-01-02) |
parents | 0a6cebac1517 |
children |
rev | line source |
---|---|
pascal@3246 | 1 # SliTaz package receipt. |
pascal@3246 | 2 |
pascal@3246 | 3 PACKAGE="perl-config-inifiles" |
Hans-G?nter@23302 | 4 VERSION="3.000003" |
pascal@3246 | 5 CATEGORY="development" |
Hans-G?nter@23302 | 6 SHORT_DESC="Perl extension Config::IniFiles." |
pascal@3246 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23302 | 9 WEB_SITE="https://metacpan.org/release/Config-IniFiles" |
Hans-G?nter@23302 | 10 |
Hans-G?nter@23302 | 11 SOURCE="Config-IniFiles" |
Hans-G?nter@23302 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23302 | 13 WGET_URL="https://cpan.org/authors/id/S/SH/SHLOMIF/$TARBALL" |
Hans-G?nter@23302 | 14 |
pascal@3246 | 15 DEPENDS="perl" |
pascal@3246 | 16 BUILD_DEPENDS="perl" |
pascal@3246 | 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@3246 | 24 # Rules to configure and make the package. |
pascal@3246 | 25 compile_rules() |
pascal@3246 | 26 { |
Hans-G?nter@23302 | 27 perl Makefile.PL && |
Hans-G?nter@23302 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@3246 | 30 } |
pascal@3246 | 31 |
pascal@3246 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3246 | 33 genpkg_rules() |
pascal@3246 | 34 { |
pascal@3246 | 35 mkdir -p $fs/usr |
Hans-G?nter@23302 | 36 cp -a $install/usr/lib $fs/usr |
pascal@3246 | 37 } |