You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/taptap/taptap-1.0.ebuild

29 lines
584 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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() {
default
sed -i \
-e 's:= -Wall -s:+= -Wall:' \
-e 's:$(CFLAGS):$(LDFLAGS) &:' \
Makefile || die
}
src_compile() {
emake CC="$(tc-getCC)"
}