wok-6.x annotate perl-net-pcap/receipt @ rev 18086

Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 23 16:17:14 2015 +0300 (2015-05-23)
parents 6b4a47136bff
children 431d56806c7d
rev   line source
pascal@11215 1 # SliTaz package receipt.
pascal@11215 2
pascal@11215 3 PACKAGE="perl-net-pcap"
pascal@11215 4 VERSION="0.16"
pascal@11215 5 CATEGORY="development"
pascal@11215 6 SHORT_DESC="Net::Pcap module is a Perl extension."
pascal@11215 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
pascal@11215 9 DEPENDS="perl libpcap"
pascal@11215 10 BUILD_DEPENDS="perl libpcap libpcap-dev"
pascal@11215 11 SOURCE="Net-Pcap"
pascal@11215 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@11215 13 WEB_SITE="http://cpan.org/"
pascal@11215 14 WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$TARBALL"
pascal@11215 15
pascal@11215 16 # Rules to configure and make the package.
pascal@11215 17 compile_rules()
pascal@11215 18 {
pascal@11215 19 cd $src
pascal@11215 20 perl Makefile.PL
pascal@11215 21 make
pascal@14702 22 make DESTDIR=$DESTDIR install
pascal@11215 23 }
pascal@11215 24
pascal@11215 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11215 26 genpkg_rules()
pascal@11215 27 {
pascal@11215 28 mkdir -p $fs/usr
pascal@14702 29 cp -a $install/usr/lib $fs/usr
pascal@11215 30 }
pascal@11215 31