wok-6.x annotate perl-net-pcap/receipt @ rev 13277
Add X keyboard name aliases in kbd-base (Bug 19)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 23 10:14:12 2012 +0200 (2012-08-23) |
parents | |
children | 2d12ebd38be4 |
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@11215 | 8 DEPENDS="perl libpcap" |
pascal@11215 | 9 BUILD_DEPENDS="perl libpcap libpcap-dev" |
pascal@11215 | 10 SOURCE="Net-Pcap" |
pascal@11215 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11215 | 12 WEB_SITE="http://cpan.org/" |
pascal@11215 | 13 WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$TARBALL" |
pascal@11215 | 14 |
pascal@11215 | 15 # Rules to configure and make the package. |
pascal@11215 | 16 compile_rules() |
pascal@11215 | 17 { |
pascal@11215 | 18 cd $src |
pascal@11215 | 19 perl Makefile.PL |
pascal@11215 | 20 make |
pascal@11215 | 21 make DESTDIR=$PWD/_pkg install |
pascal@11215 | 22 } |
pascal@11215 | 23 |
pascal@11215 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11215 | 25 genpkg_rules() |
pascal@11215 | 26 { |
pascal@11215 | 27 mkdir -p $fs/usr |
pascal@11215 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@11215 | 29 } |
pascal@11215 | 30 |