diff --git a/sys-apps/daemonize/daemonize-1.7.8-r1.ebuild b/sys-apps/daemonize/daemonize-1.7.8-r1.ebuild new file mode 100644 index 0000000000000..09571668176a5 --- /dev/null +++ b/sys-apps/daemonize/daemonize-1.7.8-r1.ebuild @@ -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 +}