wok-current annotate perl-net-server/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 15650f5d595b
children
rev   line source
pascal@1194 1 # SliTaz package receipt.
pascal@1194 2
pascal@1194 3 PACKAGE="perl-net-server"
Hans-G?nter@24245 4 VERSION="2.010"
pascal@1194 5 CATEGORY="development"
Hans-G?nter@23378 6 SHORT_DESC="Perl extension Net::Server."
pascal@1194 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24245 9 WEB_SITE="https://metacpan.org/pod/Net::Server"
Hans-G?nter@24245 10 REPOLOGY="perl:net-server"
Hans-G?nter@23378 11
Hans-G?nter@23378 12 SOURCE="Net-Server"
Hans-G?nter@23378 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23378 14 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL"
Hans-G?nter@23378 15
pascal@1194 16 DEPENDS="perl"
pascal@1194 17 BUILD_DEPENDS="perl"
pascal@1194 18
pascal@24102 19 current_version()
pascal@24102 20 {
pascal@24102 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 23 }
pascal@24102 24
pascal@1194 25 # Rules to configure and make the package.
pascal@1194 26 compile_rules()
pascal@1194 27 {
Hans-G?nter@23378 28 perl Makefile.PL &&
Hans-G?nter@23378 29 make &&
Hans-G?nter@24245 30 make install DESTDIR=$DESTDIR
pascal@1194 31 }
pascal@1194 32
pascal@1194 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1194 34 genpkg_rules()
pascal@1194 35 {
Hans-G?nter@24245 36 cook_copy_folders lib
pascal@1194 37 }