summaryrefslogtreecommitdiff
blob: 6c3be32c4690ff5d491fa1320d3a968b262f0f1a (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/axel-1.0a.ebuild,v 1.10 2004/06/12 03:40:30 agriffis Exp $

DESCRIPTION="light Unix download accelerator"
HOMEPAGE="http://www.lintux.cx/axel.html"
SRC_URI="http://www.lintux.cx/downloads/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc"
IUSE="debug"

DEPEND="virtual/glibc"

src_compile() {
	cd work/${P}
	local myconf
	use debug && myconf="--debug=1 --strip=0"
	./configure \
		--prefix=/usr \
		--etcdir=/etc \
		--mandir=/usr/share/man \
		${myconf} \
		|| die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc API CHANGES COPYING CREDITS README axelrc.example
}