wok-current annotate perl-net-snmp/receipt @ rev 16067

ARM: xorg-server-light cross compile and add more needed packages
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 12 20:54:03 2014 +0100 (2014-03-12)
parents 18ddece61f91
children 9b96943358b0
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@14702 8 LICENSE="GPL"
pascal@3247 9 DEPENDS="perl perl-crypt-des perl-digest-hmac perl-digest-sha1"
pascal@3247 10 BUILD_DEPENDS="perl perl-crypt-des perl-digest-hmac perl-digest-sha1"
pascal@3247 11 SOURCE="Net-SNMP"
pascal@3247 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@3247 13 WEB_SITE="http://cpan.org/"
pascal@3247 14 WGET_URL="http://cpan.org/authors/id/D/DT/DTOWN/$TARBALL"
pascal@3247 15
pascal@3247 16 # Rules to configure and make the package.
pascal@3247 17 compile_rules()
pascal@3247 18 {
pascal@3247 19 cd $src
pascal@3247 20 perl Makefile.PL
pascal@3247 21 make
pascal@14702 22 make DESTDIR=$DESTDIR install
pascal@3247 23 }
pascal@3247 24
pascal@3247 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3247 26 genpkg_rules()
pascal@3247 27 {
pascal@3247 28 mkdir -p $fs/usr
pascal@14702 29 cp -a $install/usr/lib $fs/usr
pascal@3247 30 }
pascal@3247 31