blob: 5ea681d0e963c06005c54af6e35ee5e8623e24d7 (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo toolchain-funcs
DESCRIPTION="Program to link two /dev/net/tun to form virtual ethernet"
HOMEPAGE="https://grumpf.hope-2000.org/"
SRC_URI="https://grumpf.hope-2000.org/${PN}.c -> ${P}.c"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
src_unpack() {
cp "${DISTDIR}"/${P}.c ${P}.c || die
}
src_compile() {
edo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${P}.c
}
src_install() {
dobin ${PN}
}
|