blob: 2ed7ee748dc0251da23fc8fca740341eb5b17ab3 (
plain) (
blame)
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3 toolchain-funcs systemd
DESCRIPTION="Simple Watchdog Daemon"
HOMEPAGE="http://git.formilux.org/?p=dist/src/flxutils.git"
EGIT_REPO_URI="http://master.formilux.org/git/dist/src/flxutils.git"
EGIT_COMMIT="v${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 mips x86"
IUSE=""
PATCHES=(
"${FILESDIR}/${PV}-MEDIUM-Remove-strip-and-uclibc.patch"
"${FILESDIR}/${PV}-MEDIUM-Respect-CFLAGS-and-LDFLAGS.patch"
)
src_prepare () {
default
tc-export CC
}
src_compile () {
emake -C wd
}
src_install () {
into /
dosbin "wd/${PN}"
doman "wd/${PN}.8"
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
systemd_dounit "${FILESDIR}/${PN}.service"
}
|