wok-current annotate perl-compress-raw-bzip2/receipt @ rev 24107
updated adminer (4.7.5 -> 4.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Sep 25 17:50:51 2021 +0100 (2021-09-25) |
parents | f7bbd080ff2a |
children | fe9734ecfefc |
rev | line source |
---|---|
erjo@2648 | 1 # SliTaz package receipt. |
erjo@2648 | 2 |
erjo@2648 | 3 PACKAGE="perl-compress-raw-bzip2" |
Hans-G?nter@23299 | 4 VERSION="2.093" |
erjo@2648 | 5 CATEGORY="development" |
Hans-G?nter@23299 | 6 SHORT_DESC="PERL low-level interface to bzip2." |
erjo@2648 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23299 | 9 WEB_SITE="https://metacpan.org/release/Compress-Raw-Bzip2" |
Hans-G?nter@23299 | 10 |
Hans-G?nter@23299 | 11 SOURCE="Compress-Raw-Bzip2" |
Hans-G?nter@23299 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23299 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/P/PM/PMQS/$TARBALL" |
Hans-G?nter@23299 | 14 |
erjo@2648 | 15 DEPENDS="perl" |
erjo@2648 | 16 BUILD_DEPENDS="perl" |
erjo@2648 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/ompress-Raw-Bzip2-/!d;s|.*zip2-||;s| -.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
erjo@2648 | 24 # Rules to configure and make the package. |
erjo@2648 | 25 compile_rules() |
erjo@2648 | 26 { |
Hans-G?nter@23299 | 27 perl Makefile.PL && |
Hans-G?nter@23299 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
erjo@2648 | 30 } |
erjo@2648 | 31 |
erjo@2648 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2648 | 33 genpkg_rules() |
erjo@2648 | 34 { |
erjo@2648 | 35 mkdir -p $fs/usr |
Hans-G?nter@23299 | 36 cp -a $install/usr/lib $fs/usr |
erjo@2648 | 37 } |