upnpscan: some cleanups, fixes configure with grep 2.7

This commit is contained in:
jensp 2010-10-01 14:40:45 +00:00
parent 4eb2c26399
commit e4c7e4d154
2 changed files with 13 additions and 9 deletions

View file

@ -1,2 +1,2 @@
DIST upnpscan-v0.4-src.tgz 309011 RMD160 ed32678ec25f2627a36d622cba8548bec87faf9e SHA1 d15125d147ef962107fc3f01b52160d50f0d8710 SHA256 0d41d63efcc9ed15133306d9996ec72a07ddb047552fca0ac417eeb412db045b
EBUILD upnpscan-0.4-r1.ebuild 657 RMD160 456a30e2342d4313051f1ad2d58a55d71917cf80 SHA1 f96b6bb3194e4c2c5c04374c1aecbbaa2e187e27 SHA256 c699fe7be6dfbbdf780b81f2362ee3dd54f9c879564ca0831b46d77f4745f07d
EBUILD upnpscan-0.4-r1.ebuild 710 RMD160 efa06e1fe6cdb0fbe482c2b4f102804851a5f422 SHA1 4b12daac2ef9e12fdc8cddbd99769453b9ef0e10 SHA256 c418540a70300a59d951993402ffb22a06056f422ce00b62809cb30e6fa21b43

View file

@ -2,6 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /root/portage/net-analyzer/upnpscan/upnpscan-0.4.ebuild,v 1.1.1.1 2006/02/27 20:03:41 grimmlin Exp $
EAPI=2
WANT_AUTOMAKE="1.9"
inherit autotools
DESCRIPTION="Scans the network for UPNP capable devices"
HOMEPAGE="http://www.cqure.net/wp/upnpscan/"
SRC_URI="http://www.cqure.net/tools/${PN}-v${PV}-src.tgz"
@ -16,14 +22,12 @@ RDEPEND=""
S="${WORKDIR}"/${PN}
src_compile() {
if use static
then
./configure || die
else
./configure --enable-static=no || die
fi
emake || die
src_prepare() {
sed -i 's|\[:space:\]|[[:space:]]|g' configure || die
}
src_configure() {
econf $(use_enable static) || die
}
src_install () {