blob: 85f58b040cf1638a5d4ca914350a70bfffb5e306 (
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-2003 Gentoo Technologies, Inc.
# 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.2 2003/11/30 06:39:44 rac Exp $
DESCRIPTION="Perl module geared to HTTP testing."
HOMEPAGE="http://www.wiretrip.net/rfp/"
SRC_URI="http://www.wiretrip.net/libwhisker/${PN}-current.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc"
S="${WORKDIR}/${P}"
DEPEND=">=perl-5.6.1
ssl? ( >=Net-SSLeay-1.19 )"
RDEPEND=${DEPEND}
IUSE="ssl"
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
}
|