summaryrefslogtreecommitdiff
blob: 8c6c5ccb3888caff2066218a3ee9e27dfaf92733 (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
# Copyright 1999-2002 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.7 2002/12/09 04:33:15 manson Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Axel: A light Unix download accelerator"
HOMEPAGE="http://www.lintux.cx/axel.html"
SRC_URI="http://www.lintux.cx/downloads/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc "

DEPEND="virtual/glibc"

src_compile() {
	local mconf
	cd work/${P}
	( [ -n "$DEBUG" ] || [ -n "$DEBUGBUILD" ] ) && \
		myconf="${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
}