wok-current annotate perl-http-server-simple-authen/receipt @ rev 25077
updated openvswitch and openvswitch-dev (2.14.0 -> 2.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 14:50:09 2022 +0100 (2022-06-15) |
parents | a3684252aaf1 |
children |
rev | line source |
---|---|
pascal@20469 | 1 # SliTaz package receipt. |
pascal@20469 | 2 |
pascal@20469 | 3 PACKAGE="perl-http-server-simple-authen" |
pascal@20469 | 4 VERSION="0.04" |
pascal@20469 | 5 CATEGORY="development" |
pascal@20469 | 6 SHORT_DESC="HTTP::Server::Simple::Authen module is a Perl extension." |
pascal@20469 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20469 | 8 LICENSE="GPL" |
pascal@20472 | 9 DEPENDS="perl-http-server-simple" |
pascal@20472 | 10 BUILD_DEPENDS="$DEPENDS" |
pascal@20469 | 11 SOURCE="HTTP-Server-Simple-Authen" |
pascal@20469 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24103 | 13 WEB_SITE="https://metacpan.org/dist/HTTP-Server-Simple-Authen" |
pascal@20469 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/$TARBALL" |
pascal@20469 | 15 |
pascal@24103 | 16 current_version() |
pascal@24103 | 17 { |
pascal@24103 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 20 } |
pascal@24103 | 21 |
pascal@20469 | 22 # Rules to configure and make the package. |
pascal@20469 | 23 compile_rules() |
pascal@20469 | 24 { |
pascal@20469 | 25 perl Makefile.PL && |
pascal@20469 | 26 make && |
pascal@20469 | 27 make DESTDIR=$DESTDIR install |
pascal@20469 | 28 } |
pascal@20469 | 29 |
pascal@20469 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20469 | 31 genpkg_rules() |
pascal@20469 | 32 { |
pascal@20469 | 33 mkdir -p $fs/usr |
pascal@20469 | 34 cp -a $install/usr/lib $fs/usr |
pascal@20469 | 35 } |