void-packages/srcpkgs/perl-WWW-Mechanize/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

22 lines
758 B
Bash

# Template build file for 'perl-WWW-Mechanize'.
pkgname=perl-WWW-Mechanize
version=1.74
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl perl-LWP perl-HTML-Parser perl-URI
perl-HTTP-Response-Encoding perl-HTTP-Server-Simple
perl-Test-Warn perl-HTML-Form"
makedepends="${hostmakedepends}"
depends="${makedepends}"
noarch="yes"
short_desc="WWW::Mechanize - Handy web browsing in a Perl object"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/WWW-Mechanize"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/WWW/${pkgname/perl-/}-$version.tar.gz"
checksum=4e18c2a220839057de4df7436e98a4368fba603e4fac4e9f2afbfb5b2abda45d
pre_configure() {
unset configure_args
}