wok annotate perl-bit-vector/receipt @ rev 24660
updated igmpproxy (0.2.1 -> 0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 10:09:19 2022 +0100 (2022-03-11) |
parents | 9596fa0f893a |
children | 1805f71c5d9f |
rev | line source |
---|---|
slaxemulator@10172 | 1 # SliTaz package receipt. |
slaxemulator@10172 | 2 |
slaxemulator@10172 | 3 PACKAGE="perl-bit-vector" |
Hans-G?nter@23292 | 4 VERSION="7.4" |
slaxemulator@10172 | 5 CATEGORY="development" |
Hans-G?nter@23292 | 6 SHORT_DESC="Perl extension Bit::Vector." |
slaxemulator@10172 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23292 | 9 WEB_SITE="https://metacpan.org/release/Bit-Vector/" |
Hans-G?nter@23292 | 10 |
Hans-G?nter@23292 | 11 SOURCE="Bit-Vector" |
Hans-G?nter@23292 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23292 | 13 WGET_URL="https://www.cpan.org/modules/by-module/BerkeleyDB/$TARBALL" |
Hans-G?nter@23292 | 14 |
slaxemulator@10172 | 15 DEPENDS="perl perl-carp-clan" |
slaxemulator@10172 | 16 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@10172 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
slaxemulator@10172 | 24 # Rules to configure and make the package. |
slaxemulator@10172 | 25 compile_rules() |
slaxemulator@10172 | 26 { |
slaxemulator@10172 | 27 perl Makefile.PL && |
slaxemulator@10172 | 28 make && |
slaxemulator@10172 | 29 make install DESTDIR=$DESTDIR |
slaxemulator@10172 | 30 } |
slaxemulator@10172 | 31 |
slaxemulator@10172 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10172 | 33 genpkg_rules() |
slaxemulator@10172 | 34 { |
slaxemulator@10172 | 35 mkdir -p $fs/usr |
Hans-G?nter@23292 | 36 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23292 | 37 } |