wok-current annotate libwww-perl/receipt @ rev 24064
Fix mailsync
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 12 11:07:34 2021 +0000 (2021-06-12) |
parents | 7423cf91a25b |
children | c365fe17a816 |
rev | line source |
---|---|
pascal@20471 | 1 # SliTaz package receipt. |
pascal@20471 | 2 |
pascal@20471 | 3 PACKAGE="libwww-perl" |
Hans-G?nter@23121 | 4 VERSION="6.43" |
pascal@20471 | 5 CATEGORY="development" |
Hans-G?nter@23121 | 6 SHORT_DESC="A simple and consistent API to the WWW in PERL." |
pascal@20471 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20471 | 8 LICENSE="GPL" |
Hans-G?nter@23121 | 9 WEB_SITE="http://cpan.org/" |
Hans-G?nter@23121 | 10 |
Hans-G?nter@23121 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23121 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL" |
Hans-G?nter@23121 | 13 |
Hans-G?nter@23121 | 14 DEPENDS="perl-io perl-module-metadata" |
pascal@20471 | 15 BUILD_DEPENDS="$DEPENDS" |
pascal@20471 | 16 |
pascal@20471 | 17 # Rules to configure and make the package. |
pascal@20471 | 18 compile_rules() |
pascal@20471 | 19 { |
pascal@20471 | 20 perl Makefile.PL && |
pascal@20471 | 21 make && |
pascal@20471 | 22 make DESTDIR=$DESTDIR install |
pascal@20471 | 23 } |
pascal@20471 | 24 |
pascal@20471 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20471 | 26 genpkg_rules() |
pascal@20471 | 27 { |
pascal@20471 | 28 mkdir -p $fs/usr |
Hans-G?nter@23121 | 29 cp -a $install/usr/lib $fs/usr |
pascal@20471 | 30 } |