From 51b0f34005f91765be5e8f1e94cf4c948a1f2ade Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Mon, 18 Jun 2012 12:44:55 +0000 Subject: Version bump to latest. (Portage version: 2.2.0_alpha110/cvs/Linux x86_64) --- net-libs/miniupnpc/ChangeLog | 7 +++++- net-libs/miniupnpc/miniupnpc-1.7.ebuild | 41 +++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 net-libs/miniupnpc/miniupnpc-1.7.ebuild (limited to 'net-libs/miniupnpc') 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 +miniupnpc-1.7.ebuild: + Version bump to latest. 17 Jun 2012; Jeff Horelick 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 +} -- cgit v1.2.3-65-gdbad