wok-next annotate perl-digest-sha1/receipt @ rev 20669

vde2: up / fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:21:30 2018 +0300 (2018-05-11)
parents 1a86cb99cbbf
children 4e6503d7a19f
rev   line source
pascal@1919 1 # SliTaz package receipt.
pascal@1919 2
pascal@1919 3 PACKAGE="perl-digest-sha1"
slaxemulator@10222 4 VERSION="2.13"
al@19709 5 CATEGORY="perl"
al@19709 6 SHORT_DESC="Digest::SHA1 - Perl interface to the SHA-1 algorithm"
pascal@1919 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
al@19709 9 WEB_SITE="https://metacpan.org/release/Digest-SHA1"
al@19709 10
al@19709 11 TARBALL="Digest-SHA1-$VERSION.tar.gz"
al@19709 12 WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL"
al@19709 13
pascal@1919 14 DEPENDS="perl"
al@19769 15 BUILD_DEPENDS="perl-dev"
pascal@1919 16
pascal@1919 17 # Rules to configure and make the package.
pascal@1919 18 compile_rules()
pascal@1919 19 {
pascal@1919 20 perl Makefile.PL &&
al@19709 21 make && make DESTDIR=$install install &&
al@19709 22
al@19709 23 chmod -R u+w $install
pascal@1919 24 }
pascal@1919 25
pascal@1919 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1919 27 genpkg_rules()
pascal@1919 28 {
al@19709 29 copy @std
pascal@1919 30 }