wok-current view perl-www-robotrules/receipt @ rev 22687

at: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 19 18:20:59 2020 +0100 (2020-01-19)
parents 2d12ebd38be4
children 15650f5d595b
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-www-robotrules"
4 VERSION="6.02"
5 CATEGORY="development"
6 SHORT_DESC="Database of robots.txt-derived permissions"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="WWW-RobotRules"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://metacpan.org/release/libwww-perl/"
12 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL"
14 DEPENDS="perl perl-uri"
15 BUILD_DEPENDS="perl $DEPENDS"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Makefile.PL && make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }