wok annotate perl-term-readkey/receipt @ rev 22368
graphviz: $WGET_URL depends on $VERSION
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 22 18:03:35 2019 +0100 (2019-11-22) |
parents | 18c66805dd1a |
children | e2b69d7cd68a |
rev | line source |
---|---|
slaxemulator@9299 | 1 # SliTaz package receipt. |
slaxemulator@9299 | 2 |
slaxemulator@9299 | 3 PACKAGE="perl-term-readkey" |
pascal@20905 | 4 VERSION="2.37" |
slaxemulator@9299 | 5 CATEGORY="development" |
slaxemulator@9299 | 6 SHORT_DESC="Term::ReadKey module is a Perl extension." |
slaxemulator@9299 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@9299 | 9 DEPENDS="perl" |
slaxemulator@9299 | 10 BUILD_DEPENDS="perl" |
slaxemulator@9299 | 11 SOURCE="TermReadKey" |
slaxemulator@9299 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20905 | 13 WEB_SITE="https://metacpan.org/release/TermReadKey" |
pascal@20905 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/$TARBALL" |
slaxemulator@9299 | 15 |
pascal@20907 | 16 BUILD_DEPENDS="perl-extutils-makemaker" |
pascal@20907 | 17 |
slaxemulator@9299 | 18 # Rules to configure and make the package. |
slaxemulator@9299 | 19 compile_rules() |
slaxemulator@9299 | 20 { |
slaxemulator@9299 | 21 perl Makefile.PL && |
slaxemulator@9299 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
slaxemulator@9299 | 24 } |
slaxemulator@9299 | 25 |
slaxemulator@9299 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9299 | 27 genpkg_rules() |
slaxemulator@9299 | 28 { |
slaxemulator@9299 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
slaxemulator@9299 | 31 } |