wok-next annotate perl-io-socket-inet6/receipt @ rev 4688
Up: fpm2 (0.76.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Dec 30 23:04:11 2009 +0100 (2009-12-30) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
erjo@2656 | 1 # SliTaz package receipt. |
erjo@2656 | 2 |
erjo@2656 | 3 PACKAGE="perl-io-socket-inet6" |
erjo@2656 | 4 VERSION="2.56" |
erjo@2656 | 5 CATEGORY="development" |
erjo@2656 | 6 SHORT_DESC="Perl extension for INET6." |
erjo@2656 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@2656 | 8 DEPENDS="perl" |
erjo@2656 | 9 BUILD_DEPENDS="perl perl-socket6" |
erjo@2656 | 10 SOURCE="IO-Socket-INET6" |
erjo@2656 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@2656 | 12 WEB_SITE="http://cpan.org/" |
erjo@2656 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$TARBALL" |
erjo@2656 | 14 |
erjo@2656 | 15 # Rules to configure and make the package. |
erjo@2656 | 16 compile_rules() |
erjo@2656 | 17 { |
erjo@2656 | 18 cd $src |
erjo@2656 | 19 perl Makefile.PL |
erjo@2656 | 20 make |
erjo@2656 | 21 make DESTDIR=$PWD/_pkg install |
erjo@2656 | 22 } |
erjo@2656 | 23 |
erjo@2656 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2656 | 25 genpkg_rules() |
erjo@2656 | 26 { |
erjo@2656 | 27 mkdir -p $fs/usr |
erjo@2656 | 28 cp -a $_pkg/usr/lib $fs/usr |
erjo@2656 | 29 } |
erjo@2656 | 30 |