You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/minissdpd/minissdpd-1.3-r1.ebuild

36 lines
735 B

# Copyright 1999-2014 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-respect-CC.patch"
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
}