blob: 414b9b373c9f973cda33275d062ab9def8b2d3b2 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=2
inherit toolchain-funcs
DESCRIPTION="A program to link two /dev/net/tun to form virtual ethernet"
HOMEPAGE="http://www.munted.org.uk/programming/taptap/"
SRC_URI="http://www.munted.org.uk/programming/${PN}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""
S=${WORKDIR}/${PN}
src_prepare() {
sed -i \
-e 's:= -Wall -s:+= -Wall:' \
-e 's:$(CFLAGS):$(LDFLAGS) &:' \
Makefile || die
}
src_compile() {
emake CC="$(tc-getCC)" || die
}
src_install() {
emake DESTDIR="${D}" install || die
}
|