wok-current annotate perl-net-server/receipt @ rev 23681
Up libsvn (1.13.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 26 15:38:37 2020 +0000 (2020-04-26) |
parents | 2d12ebd38be4 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@1194 | 1 # SliTaz package receipt. |
pascal@1194 | 2 |
pascal@1194 | 3 PACKAGE="perl-net-server" |
Hans-G?nter@23378 | 4 VERSION="2.009" |
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@23378 | 9 WEB_SITE="https://metacpan.org/release/Net-Server" |
Hans-G?nter@23378 | 10 |
Hans-G?nter@23378 | 11 SOURCE="Net-Server" |
Hans-G?nter@23378 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23378 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" |
Hans-G?nter@23378 | 14 |
pascal@1194 | 15 DEPENDS="perl" |
pascal@1194 | 16 BUILD_DEPENDS="perl" |
pascal@1194 | 17 |
pascal@1194 | 18 # Rules to configure and make the package. |
pascal@1194 | 19 compile_rules() |
pascal@1194 | 20 { |
Hans-G?nter@23378 | 21 perl Makefile.PL && |
Hans-G?nter@23378 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@1194 | 24 } |
pascal@1194 | 25 |
pascal@1194 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1194 | 27 genpkg_rules() |
pascal@1194 | 28 { |
pascal@1194 | 29 mkdir -p $fs/usr |
Hans-G?nter@23378 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1194 | 31 } |