wok annotate perl-net-http/receipt @ rev 24034
Openssh (8.5p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 08 09:21:26 2021 +0000 (2021-04-08) |
parents | 6e8b1bcb30e2 |
children | 15650f5d595b |
rev | line source |
---|---|
erjo@12228 | 1 # SliTaz package receipt. |
erjo@12228 | 2 |
erjo@12228 | 3 PACKAGE="perl-net-http" |
Hans-G?nter@23374 | 4 VERSION="6.19" |
erjo@12228 | 5 CATEGORY="development" |
Hans-G?nter@23374 | 6 SHORT_DESC="Perl Low-level HTTP connection (client)." |
erjo@12228 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23374 | 9 WEB_SITE="https://metacpan.org/release/Net-HTTP" |
Hans-G?nter@23374 | 10 |
erjo@12228 | 11 SOURCE="Net-HTTP" |
erjo@12228 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23374 | 13 WGET_URL="http://www.cpan.org/modules/by-module/Net/$TARBALL" |
erjo@12228 | 14 |
erjo@12228 | 15 DEPENDS="perl perl-compress-raw-zlib perl-io-compress" |
erjo@12228 | 16 BUILD_DEPENDS="perl $DEPENDS" |
erjo@12228 | 17 |
erjo@12228 | 18 # Rules to configure and make the package. |
erjo@12228 | 19 compile_rules() |
erjo@12228 | 20 { |
Hans-G?nter@23374 | 21 perl Makefile.PL && |
Hans-G?nter@23374 | 22 make && |
Hans-G?nter@23374 | 23 make DESTDIR=$DESTDIR install |
erjo@12228 | 24 } |
erjo@12228 | 25 |
erjo@12228 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@12228 | 27 genpkg_rules() |
erjo@12228 | 28 { |
erjo@12228 | 29 mkdir -p $fs/usr |
Hans-G?nter@23374 | 30 cp -a $install/usr/lib $fs/usr |
erjo@12228 | 31 } |