wok-current annotate perl-crypt-smbhash/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 2d12ebd38be4 |
children |
rev | line source |
---|---|
pascal@1404 | 1 # SliTaz package receipt. |
pascal@1404 | 2 |
pascal@1404 | 3 PACKAGE="perl-crypt-smbhash" |
pascal@1404 | 4 VERSION="0.12" |
pascal@1404 | 5 CATEGORY="development" |
pascal@1404 | 6 SHORT_DESC="Crypt::SmbHash module is a Perl extension." |
pascal@1404 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@1404 | 9 DEPENDS="perl" |
pascal@1404 | 10 BUILD_DEPENDS="perl" |
pascal@1404 | 11 SOURCE="Crypt-SmbHash" |
pascal@1404 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24103 | 13 WEB_SITE="https://metacpan.org/dist/Crypt-SmbHash" |
pascal@1404 | 14 WGET_URL="http://cpan.org/authors/id/B/BJ/BJKUIT/$TARBALL" |
pascal@1404 | 15 |
pascal@24103 | 16 current_version() |
pascal@24103 | 17 { |
pascal@24103 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 20 } |
pascal@24103 | 21 |
pascal@1404 | 22 # Rules to configure and make the package. |
pascal@1404 | 23 compile_rules() |
pascal@1404 | 24 { |
pascal@1404 | 25 cd $src |
pascal@1404 | 26 perl Makefile.PL |
pascal@1404 | 27 make |
pascal@14702 | 28 make DESTDIR=$DESTDIR install |
pascal@1404 | 29 } |
pascal@1404 | 30 |
pascal@1404 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1404 | 32 genpkg_rules() |
pascal@1404 | 33 { |
pascal@1404 | 34 mkdir -p $fs/usr |
pascal@14702 | 35 cp -a $install/usr/lib $fs/usr |
pascal@1404 | 36 } |
pascal@1404 | 37 |