wok annotate perl-http-parser/receipt @ rev 20901
updated expect (5.45 -> 5.45.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 26 17:33:50 2019 +0100 (2019-02-26) |
parents | 2d12ebd38be4 |
children | 18c66805dd1a |
rev | line source |
---|---|
erjo@11837 | 1 # SliTaz package receipt. |
erjo@11837 | 2 |
erjo@11837 | 3 PACKAGE="perl-http-parser" |
erjo@11837 | 4 VERSION="0.06" |
erjo@11837 | 5 CATEGORY="development" |
erjo@11837 | 6 SHORT_DESC="parse HTTP/1.1 request into HTTP::Request/Response object" |
erjo@11837 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@20682 | 9 WEB_SITE="https://metacpan.org/~edeca/HTTP-Parser-0.06/" |
erjo@11837 | 10 SOURCE="HTTP-Parser" |
erjo@11837 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20682 | 12 WGET_URL="https://metacpan.org/CPAN/authors/id/E/ED/EDECA/$TARBALL" |
erjo@11837 | 13 |
erjo@11837 | 14 DEPENDS="perl-http-message perl-uri" |
erjo@11837 | 15 BUILD_DEPENDS="perl $DEPENDS" |
erjo@11837 | 16 |
erjo@11837 | 17 # Rules to configure and make the package. |
erjo@11837 | 18 compile_rules() |
erjo@11837 | 19 { |
erjo@11837 | 20 cd $src |
erjo@11837 | 21 perl Makefile.PL && |
erjo@11837 | 22 make && |
erjo@11837 | 23 make DESTDIR=$DESTDIR install |
erjo@11837 | 24 } |
erjo@11837 | 25 |
erjo@11837 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11837 | 27 genpkg_rules() |
erjo@11837 | 28 { |
erjo@11837 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
erjo@11837 | 31 } |
erjo@11837 | 32 |
erjo@11837 | 33 |