summaryrefslogtreecommitdiff
blob: ba93fa7726b0f33742730f173cb532972daa6602 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit git autotools

EGIT_REPO_URI="git://live.polito.it/var/git/felix.git"
EGIT_BOOTSTRAP="eautoreconf"

DESCRIPTION="Simple stream multiplexer"
HOMEPAGE="http://live.polito.it/documentation/felix"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
IUSE=""

RDEPEND="dev-libs/bufferpool-git"
DEPEND="${RDEPEND}"


src_compile() {
	econf --localstatedir=/var || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"
	dodoc README ChangeLog
	find "${S}/TOOLS" -type d | xargs -- chmod 0755
	find "${S}/TOOLS" -type f | xargs -- chmod 0644
	cp -r "${S}/TOOLS" "${D}/usr/share/doc/${PF}/" || die
}