wok-current annotate perl-digest-hmac/receipt @ rev 2951

ecore: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 08 16:12:51 2009 +0200 (2009-05-08)
parents 97190a634c7f
children 2d12ebd38be4
rev   line source
pascal@1665 1 # SliTaz package receipt.
pascal@1665 2
pascal@1665 3 PACKAGE="perl-digest-hmac"
pascal@1665 4 VERSION="1.01"
pascal@1665 5 CATEGORY="development"
pascal@1665 6 SHORT_DESC="Digest::HMAC module is a Perl extension."
pascal@1665 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1665 8 DEPENDS="perl"
pascal@1665 9 BUILD_DEPENDS="perl"
pascal@1665 10 SOURCE="Digest-HMAC"
pascal@1665 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1743 12 WEB_SITE="http://cpan.org/"
pascal@1665 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"
pascal@1665 14
pascal@1665 15 # Rules to configure and make the package.
pascal@1665 16 compile_rules()
pascal@1665 17 {
pascal@1665 18 cd $src
pascal@1665 19 perl Makefile.PL &&
pascal@1665 20 make &&
pascal@1665 21 make DESTDIR=$PWD/_pkg install
pascal@1665 22 }
pascal@1665 23
pascal@1665 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1665 25 genpkg_rules()
pascal@1665 26 {
pascal@1665 27 mkdir -p $fs/usr
pascal@1665 28 cp -a $_pkg/usr/lib $fs/usr
pascal@1665 29 }
pascal@1665 30