From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EB6D8138D1C for ; Thu, 16 Jul 2015 20:53:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 093E6E0858; Thu, 16 Jul 2015 20:53:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 965BAE0858 for ; Thu, 16 Jul 2015 20:53:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 792E4340C50 for ; Thu, 16 Jul 2015 20:53:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3239917 for ; Thu, 16 Jul 2015 20:52:58 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1437080111.24436f042e5c3da0ef4148ecddd98a19f8162980.blueness@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: net-libs/miniupnpc/ X-VCS-Repository: proj/musl X-VCS-Files: net-libs/miniupnpc/Manifest net-libs/miniupnpc/metadata.xml net-libs/miniupnpc/miniupnpc-1.8-r99.ebuild X-VCS-Directories: net-libs/miniupnpc/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 24436f042e5c3da0ef4148ecddd98a19f8162980 X-VCS-Branch: master Date: Thu, 16 Jul 2015 20:52:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 45a2291c-a6f9-4bac-8520-a60ddb77aa55 X-Archives-Hash: 45b9e1f9c9a743d9daeb438076f6d5b4 commit: 24436f042e5c3da0ef4148ecddd98a19f8162980 Author: Anthony G. Basile gentoo org> AuthorDate: Thu Jul 16 20:55:11 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Thu Jul 16 20:55:11 2015 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=24436f04 net-libs/miniupnpc: depend on sys-libs/queue if elibc_musl. Package-Manager: portage-2.2.18 RepoMan-Options: --force Manifest-Sign-Key: 0xF52D4BBA net-libs/miniupnpc/Manifest | 3 ++ net-libs/miniupnpc/metadata.xml | 13 ++++++++ net-libs/miniupnpc/miniupnpc-1.8-r99.ebuild | 51 +++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest new file mode 100644 index 0000000..05fbea0 --- /dev/null +++ b/net-libs/miniupnpc/Manifest @@ -0,0 +1,3 @@ +DIST miniupnpc-1.8.tar.gz 70624 SHA256 bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c SHA512 8eedac9ad473fc952ca8896fe534d6da6b1b234e8b6f35f721394d4c71aca84ed287ca6c4f0455b50d97a45e4cd34e27d99a6813386e0864781364aa607e13d4 WHIRLPOOL 5b76ccbb5ed7daa9bb0d481b424b7c31a5f6dc85c5c812ba10175a29aefc0d3924f3db2aa8c3529d1241be59d67d1d4c702d27aad2de8c8a07fecf3857d73169 +EBUILD miniupnpc-1.8-r99.ebuild 1201 SHA256 2af96cbf410dadc35a1b0e5c2804a09da3ed5d6a837dcc3925d381316c923604 SHA512 f36a7fb1d5724fda4a62df2c64ea116fc6c63693ca1311ab18399e1b5f9b9c31c794df8bc07193593218be056b6510f06889d14121936488c95079594d26aeec WHIRLPOOL 48bd51a1aeae6c65fd61550f0a451cf4d88a59234fda98eda76f4632ce9e21bd6ebf85a416b255f6b2f48040d447f707f03470b8de82b961418fa931da5f7f5f +MISC metadata.xml 338 SHA256 3de89305fee04e6757c25966f3edb3ed3a5c1d19ff8f95452286cee3fa8a9b51 SHA512 2acb780e7cdbbcb8e7c6d6ca4573adaa015cd5ba00dbbcae0b40c46517f6b7c1c7e1b72c3f5b7514308a47bbbd3af59bb853ecaac1c0319913daa401a7f078e2 WHIRLPOOL 5c25922c90a8d9393a23c131889ce7fd5b0fdf03a7968e225e05c11466ca2d8fabcad6f055423d9225798393a9b315c84838e83770ed59b3d9d89b7f761c5f80 diff --git a/net-libs/miniupnpc/metadata.xml b/net-libs/miniupnpc/metadata.xml new file mode 100644 index 0000000..f38aad4 --- /dev/null +++ b/net-libs/miniupnpc/metadata.xml @@ -0,0 +1,13 @@ + + + +proxy-maintainers + + mgorny@gentoo.org + Michał Górny + + + nikoli@gmx.us + Nikoli + + diff --git a/net-libs/miniupnpc/miniupnpc-1.8-r99.ebuild b/net-libs/miniupnpc/miniupnpc-1.8-r99.ebuild new file mode 100644 index 0000000..0e30464 --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-1.8-r99.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/miniupnpc-1.8.ebuild,v 1.10 2014/05/02 12:53:17 jer Exp $ + +EAPI=5 + +inherit eutils 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 ~mips ppc x86" +IUSE="kernel_linux static-libs" + +# Tests hang trying to kill server, bug #409349 +RESTRICT="test" + +RDEPEND="" +DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which ) + elibc_musl? ( sys-libs/queue )" + +src_prepare() { + epatch_user + + if ! use static-libs; then + sed -i \ + -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \ + -e '/$(INSTALL) -m 644 $(LIBRARY) $(INSTALLDIRLIB)/d' \ + Makefile || die + fi +} + +# Upstream cmake causes more trouble than it fixes, +# so we'll just stay with the Makefile for now. + +src_compile() { + tc-export CC AR + emake upnpc-shared $(use static-libs && echo upnpc-static) +} + +src_install() { + emake \ + PREFIX="${D}" \ + INSTALLDIRLIB="${D}usr/$(get_libdir)" \ + install + + dodoc README Changelog.txt +}