wok-6.x annotate perl-http-proxy/receipt @ rev 20816
Up busybox (1.30.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 16:16:24 2019 +0100 (2019-02-18) |
parents | 660220d9dba5 |
children | ca4a422cce07 |
rev | line source |
---|---|
pascal@20469 | 1 # SliTaz package receipt. |
pascal@20469 | 2 |
pascal@20469 | 3 PACKAGE="perl-http-proxy" |
pascal@20469 | 4 VERSION="0.304" |
pascal@20469 | 5 CATEGORY="development" |
pascal@20469 | 6 SHORT_DESC="HTTP::Proxy module is a Perl extension." |
pascal@20469 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20469 | 8 LICENSE="GPL" |
pascal@20472 | 9 DEPENDS="libwww-perl perl-http-date perl-http-daemon" |
pascal@20472 | 10 BUILD_DEPENDS="$DEPENDS" |
pascal@20469 | 11 SOURCE="HTTP-Proxy" |
pascal@20469 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20469 | 13 WEB_SITE="http://cpan.org/" |
pascal@20469 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/B/BO/BOOK/$TARBALL" |
pascal@20469 | 15 |
pascal@20469 | 16 # Rules to configure and make the package. |
pascal@20469 | 17 compile_rules() |
pascal@20469 | 18 { |
pascal@20469 | 19 perl Makefile.PL && |
pascal@20469 | 20 make && |
pascal@20469 | 21 make DESTDIR=$DESTDIR install |
pascal@20469 | 22 } |
pascal@20469 | 23 |
pascal@20469 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20469 | 25 genpkg_rules() |
pascal@20469 | 26 { |
pascal@20469 | 27 mkdir -p $fs/usr |
pascal@20469 | 28 cp -a $install/usr/lib $fs/usr |
pascal@20469 | 29 } |