wok-current annotate perl-digest-md5/receipt @ rev 11833

Add: perl-digest-md5
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Feb 27 00:36:45 2012 +0100 (2012-02-27)
parents
children 2c9f9cf144d6
rev   line source
erjo@11833 1 # SliTaz package receipt.
erjo@11833 2
erjo@11833 3 PACKAGE="perl-digest-md5"
erjo@11833 4 VERSION="2.51"
erjo@11833 5 CATEGORY="development"
erjo@11833 6 SHORT_DESC="Digest::MD5 module is a Perl extension."
erjo@11833 7 MAINTAINER="pascal.bellard@slitaz.org"
erjo@11833 8 DEPENDS="perl"
erjo@11833 9 BUILD_DEPENDS="perl"
erjo@11833 10 SOURCE="Digest-MD5"
erjo@11833 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@11833 12 WEB_SITE="http://cpan.org/"
erjo@11833 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"
erjo@11833 14
erjo@11833 15 # Rules to configure and make the package.
erjo@11833 16 compile_rules()
erjo@11833 17 {
erjo@11833 18 cd $src
erjo@11833 19 perl Makefile.PL &&
erjo@11833 20 make &&
erjo@11833 21 make DESTDIR=$PWD/_pkg install
erjo@11833 22 }
erjo@11833 23
erjo@11833 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11833 25 genpkg_rules()
erjo@11833 26 {
erjo@11833 27 mkdir -p $fs/usr
erjo@11833 28 cp -a $_pkg/usr/lib $fs/usr
erjo@11833 29 }
erjo@11833 30