/[gentoo-x86]/net-misc/aget/aget-0.4.1.ebuild
Gentoo

Contents of /net-misc/aget/aget-0.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Oct 1 10:29:00 2010 UTC (9 years, 5 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Added ~arm, removed old version
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 xmw 1.1 # Copyright 1999-2010 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 xmw 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/aget/aget-0.4.1.ebuild,v 1.1 2010/08/31 00:11:41 xmw Exp $
4 xmw 1.1
5     EAPI=2
6    
7     inherit toolchain-funcs
8    
9     DESCRIPTION="multithreaded HTTP download accelerator"
10     HOMEPAGE="http://www.enderunix.org/aget/"
11     SRC_URI="http://www.enderunix.org/${PN}/${P}.tar.gz"
12    
13     LICENSE="BSD"
14     SLOT="0"
15     KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
16     IUSE=""
17    
18     src_prepare() {
19     sed -i \
20     -e '3s/$/DESTDIR =/' \
21     -e '/^CFLAGS/s:=.*:+= -Wall $(CPPFLAGS):' \
22     -e '/^LDFLAGS/s:=:+=:' \
23     -e '/^\tcp -f aget /s:\/usr.*:\$(DESTDIR)\/usr\/bin:' Makefile || die
24     sed -i -e '/_XOPEN_SOURCE/d' Head.c || die
25     sed -i -e 's/http\/\//http:\/\//' Misc.c || die
26     }
27    
28     src_compile() {
29     emake CC="$(tc-getCC)" || die
30     }
31    
32     src_install() {
33     dobin aget || die
34     dodoc AUTHORS ChangeLog README* THANKS TODO || die
35     doman aget.1 || die
36     }

  ViewVC Help
Powered by ViewVC 1.1.20