diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-23 09:49:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-23 09:49:59 +0100 |
commit | dd4e83dc96a7c8d12e5ecdfde7fb07196ded331b (patch) | |
tree | 31769a55af540c0f76f798bf230075a7e9dd842c /net-misc/minissdpd/minissdpd-1.6.0.ebuild | |
parent | 850d399c4f1568d3c6d013d7f4e2e371c0118bd6 (diff) |
gentoo auto-resync : 23:10:2022 - 09:49:59
Diffstat (limited to 'net-misc/minissdpd/minissdpd-1.6.0.ebuild')
-rw-r--r-- | net-misc/minissdpd/minissdpd-1.6.0.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net-misc/minissdpd/minissdpd-1.6.0.ebuild b/net-misc/minissdpd/minissdpd-1.6.0.ebuild new file mode 100644 index 000000000000..6e3e3b181684 --- /dev/null +++ b/net-misc/minissdpd/minissdpd-1.6.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs verify-sig + +DESCRIPTION="MiniSSDP Daemon" +HOMEPAGE=" + http://miniupnp.free.fr/ + https://miniupnp.tuxfamily.org/ + https://github.com/miniupnp/miniupnp/ +" +SRC_URI=" + https://miniupnp.tuxfamily.org/files/${P}.tar.gz + verify-sig? ( + https://miniupnp.tuxfamily.org/files/${P}.tar.gz.sig + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + net-libs/libnfnetlink +" +RDEPEND=" + ${DEPEND} + || ( net-misc/miniupnpd net-libs/miniupnpc ) +" +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-miniupnp ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${ED}" install + # note: we overwrite upstream's init.d + newinitd "${FILESDIR}/${PN}.initd-r2" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} + dodoc Changelog.txt README + doman minissdpd.1 +} |