wok-6.x annotate perl-term-readkey/receipt @ rev 11215
Add from wok-undigest: tslib tslib-dev util-linux-ng-flock swfdec swfdec-dev perl-net-pcap net-tools mspdebug
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 17:36:16 2011 +0100 (2011-11-03) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
slaxemulator@9299 | 1 # SliTaz package receipt. |
slaxemulator@9299 | 2 |
slaxemulator@9299 | 3 PACKAGE="perl-term-readkey" |
slaxemulator@9299 | 4 VERSION="2.30.01" |
slaxemulator@9299 | 5 CATEGORY="development" |
slaxemulator@9299 | 6 SHORT_DESC="Term::ReadKey module is a Perl extension." |
slaxemulator@9299 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9299 | 8 DEPENDS="perl" |
slaxemulator@9299 | 9 BUILD_DEPENDS="perl" |
slaxemulator@9299 | 10 SOURCE="TermReadKey" |
slaxemulator@9299 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9299 | 12 WEB_SITE="http://search.cpan.org/~stsi/TermReadKey/" |
slaxemulator@9299 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/ST/STSI/$TARBALL" |
slaxemulator@9299 | 14 |
slaxemulator@9299 | 15 # Rules to configure and make the package. |
slaxemulator@9299 | 16 compile_rules() |
slaxemulator@9299 | 17 { |
slaxemulator@9299 | 18 cd $src |
slaxemulator@9299 | 19 perl Makefile.PL && |
slaxemulator@9299 | 20 make && |
slaxemulator@9299 | 21 make DESTDIR=$PWD/_pkg install |
slaxemulator@9299 | 22 } |
slaxemulator@9299 | 23 |
slaxemulator@9299 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9299 | 25 genpkg_rules() |
slaxemulator@9299 | 26 { |
slaxemulator@9299 | 27 mkdir -p $fs/usr |
slaxemulator@9299 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@9299 | 29 } |