wok view perl-www-robotrules/receipt @ rev 24813
updated libnetfilter_queue and libnetfilter_queue-dev (1.0.3 -> 1.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 17:30:17 2022 +0100 (2022-03-22) |
parents | 6e8b1bcb30e2 |
children | 0af8df0b46fc |
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 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/release-name/!d;s|.*-||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 perl Makefile.PL && make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }