wok-6.x annotate perl-net-snmp/receipt @ rev 6070
Add puzzles from wok-undigest
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Aug 24 12:02:02 2010 +0200 (2010-08-24) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@3247 | 1 # SliTaz package receipt. |
pascal@3247 | 2 |
pascal@3247 | 3 PACKAGE="perl-net-snmp" |
pascal@3247 | 4 VERSION="5.2.0" |
pascal@3247 | 5 CATEGORY="development" |
pascal@3247 | 6 SHORT_DESC="Net::SNMP module is a Perl extension." |
pascal@3247 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3247 | 8 DEPENDS="perl perl-crypt-des perl-digest-hmac perl-digest-sha1" |
pascal@3247 | 9 BUILD_DEPENDS="perl perl-crypt-des perl-digest-hmac perl-digest-sha1" |
pascal@3247 | 10 SOURCE="Net-SNMP" |
pascal@3247 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3247 | 12 WEB_SITE="http://cpan.org/" |
pascal@3247 | 13 WGET_URL="http://cpan.org/authors/id/D/DT/DTOWN/$TARBALL" |
pascal@3247 | 14 |
pascal@3247 | 15 # Rules to configure and make the package. |
pascal@3247 | 16 compile_rules() |
pascal@3247 | 17 { |
pascal@3247 | 18 cd $src |
pascal@3247 | 19 perl Makefile.PL |
pascal@3247 | 20 make |
pascal@3247 | 21 make DESTDIR=$PWD/_pkg install |
pascal@3247 | 22 } |
pascal@3247 | 23 |
pascal@3247 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3247 | 25 genpkg_rules() |
pascal@3247 | 26 { |
pascal@3247 | 27 mkdir -p $fs/usr |
pascal@3247 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@3247 | 29 } |
pascal@3247 | 30 |