wok-current annotate perl-term-readkey/receipt @ rev 24722
updated libcaca and libcaca-dev (0.99.beta19 -> 0.99.beta20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 10:03:33 2022 +0100 (2022-03-15) |
parents | e2b69d7cd68a |
children |
rev | line source |
---|---|
slaxemulator@9299 | 1 # SliTaz package receipt. |
slaxemulator@9299 | 2 |
slaxemulator@9299 | 3 PACKAGE="perl-term-readkey" |
Hans-G?nter@23393 | 4 VERSION="2.38" |
slaxemulator@9299 | 5 CATEGORY="development" |
Hans-G?nter@23393 | 6 SHORT_DESC="Perl extension Term::ReadKey." |
slaxemulator@9299 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23393 | 9 WEB_SITE="https://metacpan.org/release/TermReadKey" |
Hans-G?nter@23393 | 10 |
slaxemulator@9299 | 11 SOURCE="TermReadKey" |
slaxemulator@9299 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23393 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Term/$TARBALL" |
slaxemulator@9299 | 14 |
Hans-G?nter@23393 | 15 DEPENDS="perl" |
Hans-G?nter@23393 | 16 BUILD_DEPENDS="perl perl-extutils-makemaker" |
pascal@20907 | 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 |
slaxemulator@9299 | 24 # Rules to configure and make the package. |
slaxemulator@9299 | 25 compile_rules() |
slaxemulator@9299 | 26 { |
slaxemulator@9299 | 27 perl Makefile.PL && |
slaxemulator@9299 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
slaxemulator@9299 | 30 } |
slaxemulator@9299 | 31 |
slaxemulator@9299 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9299 | 33 genpkg_rules() |
slaxemulator@9299 | 34 { |
slaxemulator@9299 | 35 mkdir -p $fs/usr |
Hans-G?nter@23393 | 36 cp -a $install/usr/lib $fs/usr |
slaxemulator@9299 | 37 } |