sys-apps/daemonize: bump EAPI

also
- https HOMEPAGE
- fix vairable order
- remove empty IUSE
- modernize DOCS assignmnt

Signed-off-by: Filip Kobierski <fkobi@pm.me>
Part-of: https://github.com/gentoo/gentoo/pull/42054
Closes: https://github.com/gentoo/gentoo/pull/42054
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Filip Kobierski
2025-05-12 13:45:07 +02:00
committed by Sam James
parent edc999bd45
commit 5b01f597e5

View File

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