wok-current annotate perl-animation/receipt @ rev 24633
updated gtick again (0.5.4 -> 0.5.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 16:29:56 2022 +0100 (2022-03-08) |
parents | c4a70e3ccf26 |
children |
rev | line source |
---|---|
pascal@1731 | 1 # SliTaz package receipt. |
pascal@1731 | 2 |
pascal@1731 | 3 PACKAGE="perl-animation" |
Hans-G?nter@23287 | 4 VERSION="2.6" |
pascal@1731 | 5 CATEGORY="development" |
Hans-G?nter@23287 | 6 SHORT_DESC="Perl extension Term::Animation." |
pascal@1731 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23287 | 9 WEB_SITE="https://metacpan.org/release/Term-Animation" |
Hans-G?nter@23287 | 10 |
Hans-G?nter@23287 | 11 SOURCE="Term-Animation" |
Hans-G?nter@23287 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23287 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Term/$TARBALL" |
Hans-G?nter@23287 | 14 |
pascal@1731 | 15 DEPENDS="perl" |
pascal@1731 | 16 BUILD_DEPENDS="perl" |
pascal@1731 | 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@1731 | 24 # Rules to configure and make the package. |
pascal@1731 | 25 compile_rules() |
pascal@1731 | 26 { |
pascal@1731 | 27 perl Makefile.PL && |
pascal@1731 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@1731 | 30 } |
pascal@1731 | 31 |
pascal@1731 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1731 | 33 genpkg_rules() |
pascal@1731 | 34 { |
pascal@1731 | 35 mkdir -p $fs/usr |
Hans-G?nter@23287 | 36 cp -a $install/usr/lib $fs/usr |
pascal@1731 | 37 } |