wok-current annotate perl-md4/receipt @ rev 13964
Add perl-md4
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 01 18:26:04 2013 +0100 (2013-02-01) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@13964 | 1 # SliTaz package receipt. |
pascal@13964 | 2 |
pascal@13964 | 3 PACKAGE="perl-md4" |
pascal@13964 | 4 VERSION="1.4" |
pascal@13964 | 5 CATEGORY="development" |
pascal@13964 | 6 SHORT_DESC="Digest::Perl::MD4 is a Perl extension. |
pascal@13964 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13964 | 8 WEB_SITE="http://search.cpan.org/ |
pascal@13964 | 9 DEPENDS="perl" |
pascal@13964 | 10 BUILD_DEPENDS="perl" |
pascal@13964 | 11 SOURCE="Digest-Perl-MD4" |
pascal@13964 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@13964 | 13 WEB_SITE="http://cpan.org/" |
pascal@13964 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/O/OT/OTAKA/$TARBALL" |
pascal@13964 | 15 |
pascal@13964 | 16 # Rules to configure and make the package. |
pascal@13964 | 17 compile_rules() |
pascal@13964 | 18 { |
pascal@13964 | 19 cd $src |
pascal@13964 | 20 perl Makefile.PL && |
pascal@13964 | 21 make && |
pascal@13964 | 22 make install DESTDIR=$DESTDIR |
pascal@13964 | 23 } |
pascal@13964 | 24 |
pascal@13964 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13964 | 26 genpkg_rules() |
pascal@13964 | 27 { |
pascal@13964 | 28 mkdir -p $fs/usr |
pascal@13964 | 29 cp -a $install/usr/lib $fs/usr |
pascal@13964 | 30 } |
pascal@13964 | 31 |