blob: 15d82132f39b1db3508b0732885f2171fe18fd6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libwhisker/libwhisker-1.8.ebuild,v 1.7 2004/06/24 23:15:23 agriffis Exp $
DESCRIPTION="Perl module geared to HTTP testing."
HOMEPAGE="http://www.wiretrip.net/rfp/"
SRC_URI="http://www.wiretrip.net/rfp/libwhisker/libwhisker-current.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc ~sparc"
IUSE="ssl"
DEPEND=">=dev-lang/perl-5.6.1
ssl? ( >=dev-perl/Net-SSLeay-1.19 )"
RESTRICT="fetch"
pkg_nofetch() {
einfo "Could not find the libwhisker tarball!"
einfo "It could not be fetched normally because http://www.wiretrip.net "
einfo "denies the wget User-Agent header."
einfo "You can find this library in: "
einfo ${SRC_URI}
}
src_compile() {
cd ${S}
perl Makefile.pl lib
}
src_install() {
cd ${S}
vendor_perl=`perl -e 'use Config; print $Config{installvendorlib}'`
dodir ${vendor_perl}
insinto ${vendor_perl}
doins LW.pm
dodoc docs/OPTIMIZE docs/evil.htm docs/whisker_hash.txt
dodoc simple.pl api_demo.pl README
perl scripts/func2html.pl LW.pm >> LW.html
dohtml LW.html
}
|