wok-6.x annotate perl-net-telnet/receipt @ rev 11557
Add matchbox-panel-2 form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:10 2011 +0100 (2011-12-25) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1602 | 1 # SliTaz package receipt. |
pascal@1602 | 2 |
pascal@1602 | 3 PACKAGE="perl-net-telnet" |
pascal@1602 | 4 VERSION="3.03" |
pascal@1602 | 5 CATEGORY="development" |
pascal@1602 | 6 SHORT_DESC="Net::Telnet module is a Perl extension." |
pascal@1602 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1602 | 8 DEPENDS="perl" |
pascal@1602 | 9 BUILD_DEPENDS="perl" |
pascal@1602 | 10 SOURCE="Net-Telnet" |
pascal@1602 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1602 | 12 WEB_SITE="http://cpan.org/" |
pascal@1602 | 13 WGET_URL="http://cpan.org/authors/id/J/JR/JROGERS/$TARBALL" |
pascal@1602 | 14 |
pascal@1602 | 15 # Rules to configure and make the package. |
pascal@1602 | 16 compile_rules() |
pascal@1602 | 17 { |
pascal@1602 | 18 cd $src |
pascal@1602 | 19 perl Makefile.PL |
pascal@1602 | 20 make |
pascal@1602 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1602 | 22 } |
pascal@1602 | 23 |
pascal@1602 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1602 | 25 genpkg_rules() |
pascal@1602 | 26 { |
pascal@1602 | 27 mkdir -p $fs/usr |
pascal@1602 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1602 | 29 } |
pascal@1602 | 30 |