blob: e091f30d1d07e02fee2d384a1f86497e225eeda4 (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Runs a command as a Unix daemon"
HOMEPAGE="http://software.clapper.org/daemonize/"
SRC_URI="https://github.com/bmc/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DOCS=( CHANGELOG.md README.md )
S="${WORKDIR}/${PN}-release-${PV}"
src_prepare() {
default
sed -i \
-e 's:\($(CC)\) $(CFLAGS) \(.*\.o\):\1 $(LDFLAGS) \2:' \
Makefile.in || die
}
|