wok-6.x annotate perl-digest-md5/receipt @ rev 13160
slitaz-boot-scripts: use chroot in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 25 18:28:25 2012 +0200 (2012-07-25) |
parents | 5eec7cb54869 |
children | 2d12ebd38be4 |
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" |
slaxemulator@11838 | 6 SHORT_DESC="Digest::MD5::Perl - Perl implementation of Ron Rivests MD5 Algorithm" |
slaxemulator@11838 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@11838 | 8 WEB_SITE="http://search.cpan.org/dist/Digest-MD5" |
slaxemulator@11838 | 9 SOURCE="Digest-MD5" |
slaxemulator@11838 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11838 | 11 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
slaxemulator@11838 | 12 |
erjo@11833 | 13 DEPENDS="perl" |
erjo@11833 | 14 BUILD_DEPENDS="perl" |
erjo@11833 | 15 |
erjo@11833 | 16 # Rules to configure and make the package. |
erjo@11833 | 17 compile_rules() |
erjo@11833 | 18 { |
erjo@11833 | 19 cd $src |
erjo@11833 | 20 perl Makefile.PL && |
erjo@11833 | 21 make && |
slaxemulator@11838 | 22 make DESTDIR=$DESTDIR install |
erjo@11833 | 23 } |
erjo@11833 | 24 |
erjo@11833 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11833 | 26 genpkg_rules() |
erjo@11833 | 27 { |
erjo@11833 | 28 mkdir -p $fs/usr |
slaxemulator@11838 | 29 cp -a $install/usr/lib $fs/usr |
erjo@11833 | 30 } |