summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-06-18 12:44:55 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-06-18 12:44:55 +0000
commit51b0f34005f91765be5e8f1e94cf4c948a1f2ade (patch)
tree478290d9a1ab3c3c1944b4b5914a007342e20f8a /net-libs/miniupnpc
parentUnmasking of gevent-1.0_beta2 (diff)
downloadgentoo-2-51b0f34005f91765be5e8f1e94cf4c948a1f2ade.tar.gz
gentoo-2-51b0f34005f91765be5e8f1e94cf4c948a1f2ade.tar.bz2
gentoo-2-51b0f34005f91765be5e8f1e94cf4c948a1f2ade.zip
Version bump to latest.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/miniupnpc')
-rw-r--r--net-libs/miniupnpc/ChangeLog7
-rw-r--r--net-libs/miniupnpc/miniupnpc-1.7.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/net-libs/miniupnpc/ChangeLog b/net-libs/miniupnpc/ChangeLog
index 5ba0625f6338..75793a17a58f 100644
--- a/net-libs/miniupnpc/ChangeLog
+++ b/net-libs/miniupnpc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/miniupnpc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/ChangeLog,v 1.24 2012/06/17 19:02:30 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/ChangeLog,v 1.25 2012/06/18 12:44:55 scarabeus Exp $
+
+*miniupnpc-1.7 (18 Jun 2012)
+
+ 18 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> +miniupnpc-1.7.ebuild:
+ Version bump to latest.
17 Jun 2012; Jeff Horelick <jdhore@gentoo.org> miniupnpc-1.6.20120509.ebuild:
marked x86 per bug 421535
diff --git a/net-libs/miniupnpc/miniupnpc-1.7.ebuild b/net-libs/miniupnpc/miniupnpc-1.7.ebuild
new file mode 100644
index 000000000000..449d1e758b75
--- /dev/null
+++ b/net-libs/miniupnpc/miniupnpc-1.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/miniupnpc-1.7.ebuild,v 1.1 2012/06/18 12:44:55 scarabeus Exp $
+
+EAPI=4
+inherit multilib toolchain-funcs
+
+DESCRIPTION="UPnP client library and a simple UPnP client"
+HOMEPAGE="http://miniupnp.free.fr/"
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="kernel_linux static-libs"
+
+RESTRICT="test" #409349
+
+RDEPEND=""
+DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )"
+
+src_prepare() {
+ sed -i -e '/CFLAGS.*-O/d' Makefile || die
+
+ if ! use static-libs; then
+ sed -i \
+ -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \
+ -e '/$(INSTALL) -m 644 $(LIBRARY) $(INSTALLDIRLIB)/d' \
+ Makefile || die
+ fi
+}
+
+src_compile() {
+ tc-export CC
+ emake upnpc-shared $(use static-libs && echo upnpc-static)
+}
+
+src_install() {
+ emake PREFIX="${D}" INSTALLDIRLIB="${D}/usr/$(get_libdir)" install
+ dodoc Changelog.txt
+}