wok annotate perl-www-robotrules/receipt @ rev 24737
updated libevdev and libevdev-dev (1.9.0 -> 1.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 09:39:00 2022 +0100 (2022-03-16) |
parents | 6e8b1bcb30e2 |
children | 0af8df0b46fc |
rev | line source |
---|---|
erjo@12228 | 1 # SliTaz package receipt. |
erjo@12228 | 2 |
erjo@12228 | 3 PACKAGE="perl-www-robotrules" |
erjo@12228 | 4 VERSION="6.02" |
erjo@12228 | 5 CATEGORY="development" |
erjo@12228 | 6 SHORT_DESC="Database of robots.txt-derived permissions" |
erjo@12228 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
erjo@12228 | 9 SOURCE="WWW-RobotRules" |
erjo@12228 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 11 WEB_SITE="https://metacpan.org/release/libwww-perl/" |
erjo@12228 | 12 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL" |
erjo@12228 | 13 |
erjo@12228 | 14 DEPENDS="perl perl-uri" |
erjo@12228 | 15 BUILD_DEPENDS="perl $DEPENDS" |
erjo@12228 | 16 |
pascal@24102 | 17 current_version() |
pascal@24102 | 18 { |
pascal@24102 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 20 sed '/release-name/!d;s|.*-||;s|<.*||;q' |
pascal@24102 | 21 } |
pascal@24102 | 22 |
erjo@12228 | 23 # Rules to configure and make the package. |
erjo@12228 | 24 compile_rules() |
erjo@12228 | 25 { |
erjo@12228 | 26 cd $src |
erjo@12228 | 27 perl Makefile.PL && make && make DESTDIR=$DESTDIR install |
erjo@12228 | 28 |
erjo@12228 | 29 } |
erjo@12228 | 30 |
erjo@12228 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@12228 | 32 genpkg_rules() |
erjo@12228 | 33 { |
erjo@12228 | 34 mkdir -p $fs/usr |
pascal@14702 | 35 cp -a $install/usr/lib $fs/usr |
erjo@12228 | 36 } |
erjo@12228 | 37 |