wok-6.x annotate perl-io-tty/receipt @ rev 13352
Add perl-io-tty, perl-io-stty, perl-number-range, perl-expect, perl-algorithm-permute
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 10 09:49:31 2012 +0200 (2012-09-10) |
parents | |
children | 8df91607b9af |
rev | line source |
---|---|
pascal@13352 | 1 # SliTaz package receipt. |
pascal@13352 | 2 |
pascal@13352 | 3 PACKAGE="perl-io-tty" |
pascal@13352 | 4 VERSION="1.10" |
pascal@13352 | 5 CATEGORY="development" |
pascal@13352 | 6 SHORT_DESC="IO::Tty module is a Perl extension. |
pascal@13352 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13352 | 8 WEB_SITE="http://search.cpan.org/ |
pascal@13352 | 9 DEPENDS="perl" |
pascal@13352 | 10 BUILD_DEPENDS="perl" |
pascal@13352 | 11 SOURCE="IO-Tty" |
pascal@13352 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@13352 | 13 WEB_SITE="http://cpan.org/" |
pascal@13352 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$TARBALL" |
pascal@13352 | 15 |
pascal@13352 | 16 # Rules to configure and make the package. |
pascal@13352 | 17 compile_rules() |
pascal@13352 | 18 { |
pascal@13352 | 19 cd $src |
pascal@13352 | 20 perl Makefile.PL && |
pascal@13352 | 21 make && |
pascal@13352 | 22 make install DESTDIR=$DESTDIR |
pascal@13352 | 23 } |
pascal@13352 | 24 |
pascal@13352 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13352 | 26 genpkg_rules() |
pascal@13352 | 27 { |
pascal@13352 | 28 mkdir -p $fs/usr |
pascal@13352 | 29 cp -a $install/usr/lib $fs/usr |
pascal@13352 | 30 } |
pascal@13352 | 31 |