blob: 709c2132d1513c2dfba251358870fd17c0d3ee32 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libwhisker/libwhisker-2.2.ebuild,v 1.3 2005/03/13 20:38:32 mcummings Exp $
MY_P="${PN}2-current"
S="${WORKDIR}/${PN}2-${PV}"
DESCRIPTION="Perl module geared to HTTP testing."
HOMEPAGE="http://www.wiretrip.net/rfp/"
SRC_URI="http://www.wiretrip.net/rfp/libwhisker/${MY_P}.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 )"
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 LW2.pm
dodoc docs/* scripts/*
dohtml LW.html
}
|