diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-23 06:59:22 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-23 06:59:22 +0200 |
commit | 7cb3534a598e5c40c4bba6a18278c607f1da6fc0 (patch) | |
tree | 486382d7a26b80962417497457802456c8f04c8a /net-misc/minissdpd/minissdpd-1.6.0.ebuild | |
parent | dev-python/pymdown-extensions: Bump to 9.7 (diff) | |
download | gentoo-7cb3534a598e5c40c4bba6a18278c607f1da6fc0.tar.gz gentoo-7cb3534a598e5c40c4bba6a18278c607f1da6fc0.tar.bz2 gentoo-7cb3534a598e5c40c4bba6a18278c607f1da6fc0.zip |
net-misc/minissdpd: Bump to 1.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
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 +} |