wok-current annotate perl-net-snmp/receipt @ rev 11429
blueman: add intltool to BUILD_DEPENDS
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Dec 16 15:33:43 2011 +0100 (2011-12-16) |
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 |