wok-current annotate perl-term-readkey/receipt @ rev 15589
Add some license
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 02 17:47:06 2013 +0000 (2013-12-02) |
parents | 2076f998b727 |
children | 20661c276bcf |
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" |
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" |
slaxemulator@9299 | 13 WEB_SITE="http://search.cpan.org/~stsi/TermReadKey/" |
slaxemulator@9299 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/ST/STSI/$TARBALL" |
slaxemulator@9299 | 15 |
slaxemulator@9299 | 16 # Rules to configure and make the package. |
slaxemulator@9299 | 17 compile_rules() |
slaxemulator@9299 | 18 { |
slaxemulator@9299 | 19 cd $src |
slaxemulator@9299 | 20 perl Makefile.PL && |
slaxemulator@9299 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@9299 | 23 } |
slaxemulator@9299 | 24 |
slaxemulator@9299 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9299 | 26 genpkg_rules() |
slaxemulator@9299 | 27 { |
slaxemulator@9299 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@9299 | 30 } |