blob: bf064bcadd9d4735b51ef41e208608783e6814d5 (
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
33
34
35
36
37
38
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/httpup/httpup-0.3.2.ebuild,v 1.5 2010/02/21 01:29:43 abcd Exp $
inherit eutils toolchain-funcs
DESCRIPTION="synchronisation tool for http file repositories"
HOMEPAGE="http://clc.berlios.de/projects/httpup/"
SRC_URI="http://jw.tks6.net/files/crux/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
DEPEND="net-misc/curl"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-darwin.patch
sed -i \
-e 's:g++:$(CXX) $(CFLAGS) $(LDFLAGS):' \
Makefile
epatch "${FILESDIR}"/${P}-gcc43.patch
epatch "${FILESDIR}"/${P}-gcc44.patch
}
src_compile() {
emake CXX="$(tc-getCXX)" || die "make failed"
}
src_install() {
dobin httpup httpup-repgen httpup-repgen2 || die "dobin"
doman *.8
dodoc AUTHORS README TODO ChangeLog httpup.conf.example
}
|