wok view perl-www-robotrules/receipt @ rev 25783
Up verbiste (0.1.49)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 13:23:01 2024 +0000 (6 weeks ago) |
parents | 15650f5d595b |
children |
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/dist/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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/release-name/!d;s|.*-||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 perl Makefile.PL && make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 }