Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 314111
Collapse All | Expand All

(-)gatling-0.11-r1.ebuild.orig (-7 / +6 lines)
Lines 11-25 Link Here
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~amd64 ~x86"
13
KEYWORDS="~amd64 ~x86"
14
15
# We still have compile issues with USE=ssl, so it's commented out for now
14
# We still have compile issues with USE=ssl, so it's commented out for now
16
#IUSE="ssl"
15
#IUSE="ssl"
17
IUSE=""
16
IUSE=""
18
17
19
DEPEND=">=dev-libs/libowfat-0.25
18
DEPEND=">=dev-libs/libowfat-0.25
20
	dev-libs/dietlibc"
19
	dev-libs/dietlibc"
21
	#ssl? ( dev-libs/openssl )
20
	#ssl? ( dev-libs/openssl )"
22
	#"
23
RDEPEND=""
21
RDEPEND=""
24
22
25
src_unpack() {
23
src_unpack() {
Lines 27-32 Link Here
27
	cd "${S}"
25
	cd "${S}"
28
26
29
	epatch "${FILESDIR}/gentoo-vars.patch"
27
	epatch "${FILESDIR}/gentoo-vars.patch"
28
	sed -i -e '/LDFLAGS+=-s/d' GNUmakefile || die
30
}
29
}
31
30
32
src_compile() {
31
src_compile() {
Lines 34-51 Link Here
34
	#if use ssl; then
33
	#if use ssl; then
35
	#	emake tlsgatling || die "emake tlsgatling failed"
34
	#	emake tlsgatling || die "emake tlsgatling failed"
36
	#fi
35
	#fi
37
	emake gatling || die "emake gatling failed"
36
	emake gatling || die
38
}
37
}
39
38
40
src_install() {
39
src_install() {
41
	dobin gatling || die "installing gatling binary failed"
40
	dobin gatling || die
42
	doman gatling.1 || die "installing manpage failed"
41
	doman gatling.1 || die
43
	# FIX ME
42
	# FIX ME
44
	#dobin tlsgatling || die "installing tlsgatling binary failed"
43
	#dobin tlsgatling || die "installing tlsgatling binary failed"
45
44
46
	newconfd "${FILESDIR}/gatling.confd gatling"
45
	newconfd "${FILESDIR}/gatling.confd gatling"
47
	newinitd "${FILESDIR}/gatling.initd gatling"
46
	newinitd "${FILESDIR}/gatling.initd gatling"
48
	dodoc README.{ftp,http} || die "installing docs failed"
47
	dodoc README.{ftp,http} || die
49
}
48
}
50
49
51
pkg_setup() {
50
pkg_setup() {

Return to bug 314111