summaryrefslogtreecommitdiff
blob: 0b25da4fcea196c00560ef08ed613308ce0c7f55 (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-2008 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
}