summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/minissdpd/minissdpd-1.5.20160119.ebuild')
-rw-r--r--net-misc/minissdpd/minissdpd-1.5.20160119.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/minissdpd/minissdpd-1.5.20160119.ebuild b/net-misc/minissdpd/minissdpd-1.5.20160119.ebuild
new file mode 100644
index 00000000000..97b95d3b1c1
--- /dev/null
+++ b/net-misc/minissdpd/minissdpd-1.5.20160119.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+inherit eutils toolchain-funcs
+
+DESCRIPTION="MiniSSDP Daemon"
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
+HOMEPAGE="http://miniupnp.free.fr/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="|| ( net-misc/miniupnpd net-libs/miniupnpc )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.2-remove-initd.patch"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install () {
+ einstall PREFIX="${D}"
+ newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+ dodoc Changelog.txt README
+ doman minissdpd.1
+}