diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-06 11:18:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-06 11:18:16 +0100 |
commit | ebce8994fe3cc4ca9fbc96ca837cb4c4e98adcbd (patch) | |
tree | f2204ce5f94dc3cb13728ff93649d889944952bb /net-libs/miniupnpc | |
parent | fe1c8b732bd548b699d4c2ef725f67f8b8c8911c (diff) |
gentoo resync : 06.05.2018
Diffstat (limited to 'net-libs/miniupnpc')
-rw-r--r-- | net-libs/miniupnpc/Manifest | 2 | ||||
-rw-r--r-- | net-libs/miniupnpc/miniupnpc-2.0.20180503.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest index 0065021ba5be..3e6c61d6aa49 100644 --- a/net-libs/miniupnpc/Manifest +++ b/net-libs/miniupnpc/Manifest @@ -2,8 +2,10 @@ DIST miniupnpc-2.0.20170509.tar.gz 86055 BLAKE2B 7da640c4baac58aa26965a670877953 DIST miniupnpc-2.0.20171212.tar.gz 86607 BLAKE2B fce582c4125192f74f6ffb174295020af1c9b574b2094f5565a5e49641820a2d9cef719de59cb94bfd207182505237c22cf58425e1a7b47f5dfe2eb84c07d3c5 SHA512 d25708f4e2ef7311878ba6d17cb506f4bfe5c9cc6b7a79e4168f143ca9da8b96beb018c42dd735f0b23806668eba2308b7de26d1b506d91c23f79c7ed77399a0 DIST miniupnpc-2.0.20180203.tar.gz 86772 BLAKE2B 6959d7033f12d3cbe52bbe1ec2178c068a448441d22501f44a7228b2050b53ff5e955d390ff03071e6f34df2a652040bf5ab23c59aca16dc4379e380dd46fea8 SHA512 b8ebf02ed01c5217a789397b7c224ba21d233cb544ccdfd907fb9c6f49adae6864eb17963b9b9f654ecf3fde864c191fd7d00c5cf614771a7137a030f341f226 DIST miniupnpc-2.0.20180222.tar.gz 87018 BLAKE2B 656ae02ac6e462084252d95e579972d2bbaec24cf44b5910d4fc1a956723a8ed8fecaa428aea361a7ec8a3ff60b82e0d9468ac21d251c16ac8c2b52eafec6ab3 SHA512 0cceeedff6c584d2d7037ff91fbba0fe580fabfda810b9a9ed7c8d8495445339e3ff115d63d4429bcd3eff2b13b123e1bd5855ff1bc9dcd986b968a82c368591 +DIST miniupnpc-2.0.20180503.tar.gz 88207 BLAKE2B 1d6c6396e805eae3c53263a6856cc119033a645da29471b31705fdee8465808361057804496821f845112fb8490d351f67a5d5c9e1fef522fc6e6df8d4ac34c1 SHA512 68dcf76fe62223de80610afd392f14f46af2465796c3d4d46daa0c6f1f7e99034368b2484e260e718d42eef480644a684e83d4c0f32a6108fdd544cfc48443a3 EBUILD miniupnpc-2.0.20170509.ebuild 1266 BLAKE2B 275a77b2813007c8055df57d2e8d74c05c02e7f81af1b1ad766a4c9f274f955c7d56779184983a1e45962bbc38e9ff58f15f4bfc076ed86cc1400eabac4f2dcb SHA512 aeeaba172f38162342256afc17223e1efce42f149561ca0e19bcd8336d32dd74d51a55951f4df79663d1999702930eb4dcd6ceebeea9afe82d9f376432dd7271 EBUILD miniupnpc-2.0.20171212.ebuild 1266 BLAKE2B 0fec3f1639a678ca9a119713e62dfde5b8d3b361a6887a85a16d4f202376423a3fbe8910400467e3da91cf368b3628d001a1c5450d4c624471202a56d57d5139 SHA512 5f46f5b41a88c39d560eb8db872b8e3266142dbce18024fd05761f4be8c144475d8b444eef0848db1ad51934f39924b71950b39f660bc47d523d7186f05b158d EBUILD miniupnpc-2.0.20180203.ebuild 1339 BLAKE2B be0965e64f83087fffb495b3c3de74d691b2575fd8d14b36c56284404e912b623baea93027c61d58d354ef00c8fb31f4581b01959606683e1d23563e75b72891 SHA512 af3b05b0af780f4b8707209b7d1bbd26c8952c0f9314f613569f6da6e03a5bac9961d19e16e6c0876abee7006401c909b02e5c058daba7e2dbd6922aba98110e EBUILD miniupnpc-2.0.20180222.ebuild 1333 BLAKE2B f762b531021f78f3aa93475585e8a1e487904c9dc3318bac1e909583082b5a83016fe7133729da4adfdcd25ed8d7140ebc285f6462e763abbe10793730b949e8 SHA512 c26e847103ae46119663cc66674104b19a32b6c12294572701862e1315b40c299b35944de2d3c505d6805246b13685a436e7a9d2fc8eaaea41826ca84fa685d3 +EBUILD miniupnpc-2.0.20180503.ebuild 1339 BLAKE2B 697f1d38525ead8b41b0b5ad8b88b59bcb5281ebb1e5685e1caa94b9b0d350c2b2d9c3f2e46b37a4a2b74214079fe8d9c4c52c3dc81d1072f2d603f1f4d2e9f3 SHA512 93714f9e816f487b4d130c81e5149af4126245b8901a4e669026956e00510e465a098d92bc85b574c8b576f6b81bc42616fe1e220aa58256dcd7ffb93dd092b2 MISC metadata.xml 243 BLAKE2B 997913e51bb9c2ba601c78673246d3845d1078f5be11ff209532c5afc9f433d4cfe7a0066ba23677d23ffe368d7ee718df71d28301d45c0473f50e931f674165 SHA512 ded2bb7e056d9081e11b0470aa2874fbe9b5e63f0178bec611291f639763a9bd85a076dbc526e01df1403dea4d0eb28913addb346b676084e690e063b68eca28 diff --git a/net-libs/miniupnpc/miniupnpc-2.0.20180503.ebuild b/net-libs/miniupnpc/miniupnpc-2.0.20180503.ebuild new file mode 100644 index 000000000000..7692f0ffb53e --- /dev/null +++ b/net-libs/miniupnpc/miniupnpc-2.0.20180503.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit 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/17" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="ipv6 kernel_linux static-libs" + +RDEPEND="" +DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )" + +src_prepare() { + eapply_user + + # These bins are not installed, upnpc-static requires building static lib + sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die + # Prevent gzipping manpage. + sed -i -e '/gzip/d' Makefile || die + + if ! use static-libs; then + sed -i \ + -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \ + -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(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 $(usex static-libs upnpc-static '') +} + +src_test() { + emake -j1 HAVE_IPV6=$(usex ipv6) check +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \ + install + + dodoc README Changelog.txt +} |