summaryrefslogtreecommitdiff
blob: 50091146a700229009d219598317cbe6e844de70 (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 Foundation
# 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.13 2004/07/01 20:43:30 squinky86 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 ~ppc"
IUSE="debug"

DEPEND="virtual/libc"

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
}