wok-stable annotate perl-net-ftp/receipt @ rev 11388

Fix: allow the removal of slitaz-boot-scripts
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 04:50:27 2011 +0100 (2011-12-10)
parents 84e5f2e10ea6
children
rev   line source
pascal@9281 1 # SliTaz package receipt.
pascal@9281 2
pascal@9281 3 PACKAGE="perl-net-ftp"
pascal@9281 4 VERSION="1.22"
pascal@9281 5 CATEGORY="development"
pascal@9281 6 SHORT_DESC="Net::FTP module is a Perl extension."
pascal@9281 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@9281 8 DEPENDS="perl"
pascal@9281 9 BUILD_DEPENDS="perl"
pascal@9281 10 SOURCE="libnet"
pascal@9281 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@9281 12 WEB_SITE="http://cpan.org/"
pascal@9281 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/$TARBALL"
pascal@9281 14
pascal@9281 15 # Rules to configure and make the package.
pascal@9281 16 compile_rules()
pascal@9281 17 {
pascal@9281 18 cd $src
pascal@9284 19 yes '' | perl Makefile.PL &&
pascal@9281 20 make &&
pascal@9281 21 make DESTDIR=$PWD/_pkg install
pascal@9281 22 }
pascal@9281 23
pascal@9281 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9281 25 genpkg_rules()
pascal@9281 26 {
pascal@9281 27 mkdir -p $fs/usr
pascal@9281 28 cp -a $_pkg/usr/lib $fs/usr
pascal@9281 29 }
pascal@9281 30