From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QoVBm-0003gv-QB for garchives@archives.gentoo.org; Wed, 03 Aug 2011 06:44:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6BD2C21C168; Wed, 3 Aug 2011 06:44:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2C6A421C168 for ; Wed, 3 Aug 2011 06:44:13 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DA2E1B4035 for ; Wed, 3 Aug 2011 06:44:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id E250080042 for ; Wed, 3 Aug 2011 06:44:11 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: Subject: [gentoo-commits] dev/mgorny:master commit in: net-libs/miniupnpc/ X-VCS-Repository: dev/mgorny X-VCS-Files: net-libs/miniupnpc/Manifest net-libs/miniupnpc/metadata.xml net-libs/miniupnpc/miniupnpc-1.6.ebuild X-VCS-Directories: net-libs/miniupnpc/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a69d0e118f9c00aaedca3661017f872b736a47c3 Date: Wed, 3 Aug 2011 06:44:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: cafdaec54d67fd755b3507dd5306975e commit: a69d0e118f9c00aaedca3661017f872b736a47c3 Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Wed Aug 3 06:45:27 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Wed Aug 3 06:45:27 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/mgorny.git;a=3D= commit;h=3Da69d0e11 net-libs/miniupnpc: Split Python part out of miniupnpc ebuild. (Portage version: 2.2.0_alpha49_p5/git/Linux x86_64, signed Manifest comm= it with key 42B9401D) --- net-libs/miniupnpc/Manifest | 15 ++++++++ net-libs/miniupnpc/metadata.xml | 17 +++++++++ net-libs/miniupnpc/miniupnpc-1.6.ebuild | 56 +++++++++++++++++++++++++= ++++++ 3 files changed, 88 insertions(+), 0 deletions(-) diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest new file mode 100644 index 0000000..f213951 --- /dev/null +++ b/net-libs/miniupnpc/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST miniupnpc-1.6.tar.gz 66454 RMD160 d86b75b331a3fb5525c71708548f31197= 7c0598f SHA1 ef8f2edb17f2e7c5b8dc67ee80a65c199d823e0a SHA256 bbd6b756e6af= 44b5a5b0f9b93eada3fb8922ed1d6451b7d6f184d0ae0c813994 +EBUILD miniupnpc-1.6.ebuild 1123 RMD160 4098ec3bc5c33794b66ba0bceec7b00c= 77001294 SHA1 54d58e84e6505d140358859131ed7a7d9b3bcb35 SHA256 b6056a48111= b9f6f4f356ef1d4c883de9fee92806b92aff7f6b44c6c30152294 +MISC metadata.xml 418 RMD160 57cd3ee3cec2a418323823d0c5ab8f3e56722dcb SH= A1 6d59a27ff76532516274b82fa8e53f8145d37fdc SHA256 d20ee611ec1a7073b07277= 10cea00748d46a4934f91cd2da852c5bce286ba1be +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iJwEAQEIAAYFAk447ocACgkQfXuS5UK5QB06hwP/RbGwG5ylO/M9pJVM6ZKmuQ4L +aL23Goxv/FQLzZ/nzfdM1fGUSFu9jjbB2EVCOHYaFV2Ry4064FH49TvvzE6UT8Sz +ljCiBDvh+jY+14Yf7uKl3nLDI5M2WMXd9Q9+C9BAAKVkDgoAg3hbKtJjcwjZbF5q +s6PIrh3m9/cmjnZd42c=3D +=3D6g/f +-----END PGP SIGNATURE----- diff --git a/net-libs/miniupnpc/metadata.xml b/net-libs/miniupnpc/metadat= a.xml new file mode 100644 index 0000000..e94b790 --- /dev/null +++ b/net-libs/miniupnpc/metadata.xml @@ -0,0 +1,17 @@ + + + +no-herd + + pva@gentoo.org + Peter Volkov + + + mgorny@gentoo.org + Micha=C5=82 G=C3=B3rny + + + nikoli@lavabit.com + Nikoli + + diff --git a/net-libs/miniupnpc/miniupnpc-1.6.ebuild b/net-libs/miniupnpc= /miniupnpc-1.6.ebuild new file mode 100644 index 0000000..beedca0 --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-1.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +inherit base eutils toolchain-funcs + +DESCRIPTION=3D"UPnP client library and a simple UPnP client" +HOMEPAGE=3D"http://miniupnp.free.fr/" +SRC_URI=3D"http://miniupnp.free.fr/files/${P}.tar.gz" + +LICENSE=3D"BSD" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"static-libs" + +DEPEND=3D"sys-apps/lsb-release" +RDEPEND=3D"" + +src_prepare() { + base_src_prepare + + sed \ + -e 's/^CFLAGS ?=3D -O -Wall /CFLAGS +=3D /' \ + -i Makefile || die + + if use !static-libs; then + sed \ + -e '/FILESTOINSTALL =3D/s/ $(LIBRARY)//' \ + -e '/$(INSTALL) -m 644 $(LIBRARY) $(INSTALLDIRLIB)/d' \ + -i Makefile || die + fi +} + +# Upstream cmake causes more trouble than it fixes, +# so we'll just stay with the Makefile for now. + +src_compile() { + emake CC=3D$(tc-getCC) || die +} + +src_install() { + emake \ + PREFIX=3D"${D}" \ + INSTALLDIRLIB=3D"${D}usr/$(get_libdir)" \ + install || die + + dodoc README Changelog.txt || die + doman man3/* || die +} + +pkg_postinst() { + elog "Please note that the python counterpart has been moved to" + elog " dev-python/miniupnpc" +}