blob: 5cbfe30a1ad322a0bbb0f46f900c3d846441aee4 (
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
33
34
35
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit toolchain-funcs
DESCRIPTION="Daemon turns other process into daemons, respawning automatically"
HOMEPAGE="http://www.libslack.org/daemon/"
SRC_URI="http://libslack.org/daemon/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-amd64 ~x86"
IUSE=""
RESTRICT="test"
DEPEND=""
RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e '/strip/d' rules.mk
}
src_compile() {
./config
emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
CCFLAGS="${CFLAGS}" PREFIX="/usr"
}
src_install() {
emake PREFIX="${D}/usr" install
dodoc README
}
|