summaryrefslogtreecommitdiff
blob: bfb1e956187cf773d9416dc857bc1d7b777e2188 (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
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit eutils

DESCRIPTION="dbeacon is a Multicast Beacon written in C++"

HOMEPAGE="http://fivebits.net/proj/dbeacon/"

SRC_URI="http://fivebits.net/files/${PN}/${P}.tar.gz"

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="~amd64"

IUSE=""

RESTRICT="nomirror"

DEPEND=""

RDEPEND="${DEPEND}"

#S="${WORKDIR}/${P}"

src_unpack() {
	unpack "${A}"
	cd "${S}"
	sed -i -e "s,^\([ 	]*CXXFLAGS +=.*\) -g,\1," Makefile
}

src_configure() {
	true # No configure
}

src_compile() {
	emake || die "emake failed"
}

src_install() {
	emake PREFIX="/usr" DESTDIR="${D}" install install_mans || die "emake install failed"
	dodoc README docs/FAQ docs/PROTOCOL docs/large_scale_beaconing.txt
}