wok-current annotate perl-www-robotrules/receipt @ rev 24703
updated ladspa and ladspa-dev (1.15 -> 1.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 11:12:41 2022 +0100 (2022-03-14) |
parents | 6e8b1bcb30e2 |
children |
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 |