From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 62041138359 for ; Fri, 11 Sep 2020 16:51:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45443E08F3; Fri, 11 Sep 2020 16:51:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 26423E08F3 for ; Fri, 11 Sep 2020 16:51:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7884F340B4D for ; Fri, 11 Sep 2020 16:51:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF74035C for ; Fri, 11 Sep 2020 16:51:19 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1599598260.01063dd1cfcff7f7437af66de5dbbc5e9d42c589.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/purritobin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/purritobin/Manifest net-misc/purritobin/purritobin-0.2.4.ebuild X-VCS-Directories: net-misc/purritobin/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 01063dd1cfcff7f7437af66de5dbbc5e9d42c589 X-VCS-Branch: master Date: Fri, 11 Sep 2020 16:51:19 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a54b408d-6ccb-4502-bf08-e51251d07f0b X-Archives-Hash: bdb13de25f913ad12e5ccc731af74671 commit: 01063dd1cfcff7f7437af66de5dbbc5e9d42c589 Author: Aisha Tammy aisha cc> AuthorDate: Tue Sep 8 20:51:00 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Sep 8 20:51:00 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01063dd1 net-misc/purritobin: version bump Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> net-misc/purritobin/Manifest | 1 + net-misc/purritobin/purritobin-0.2.4.ebuild | 50 +++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest index 55b78596..0f145ca0 100644 --- a/net-misc/purritobin/Manifest +++ b/net-misc/purritobin/Manifest @@ -1 +1,2 @@ DIST purritobin-0.2.3.tar.gz 11243 BLAKE2B 0859500ff4bc818d2beeccd445118e3f5c20e88c486a63bd4ab75ce74f7bcf681f7d56f02cd995285784dc2951d29547f616637c076cb0bdf2fc9eca4f3eecce SHA512 f0642cac76ef4f27658be6b9fb89f4518b4a2edef9ad26d292c05f70f4d2b842cfad0ea26acf569e43e70dfca19d94f11e28ec09b161139ae5bddc63f0ac6af5 +DIST purritobin-0.2.4.tar.gz 11356 BLAKE2B 5a96a71b5426f0e27813aaa7287fa803a7127f16e21f15689f325784878b53603536f809d898842ff4eb68a9ceee2e565015e02de4e3eb067f66ed4b84c90e99 SHA512 1394a203b80c0d53c5bd0b5d941c9d69549fb53d3ad2974e197a3d323fc6a9a00b3c5c4c81c6b42bda8b06269886c63faf6246d4c9493fb4d145e858ed69ef1e diff --git a/net-misc/purritobin/purritobin-0.2.4.ebuild b/net-misc/purritobin/purritobin-0.2.4.ebuild new file mode 100644 index 00000000..301a1af7 --- /dev/null +++ b/net-misc/purritobin/purritobin-0.2.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="minimalistic commandline pastebin" +HOMEPAGE="https://bsd.ac" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/PurritoBin/PurritoBin.git" + KEYWORDS="" +else + SRC_URI="https://github.com/PurritoBin/PurritoBin/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/PurritoBin-${PV}" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="libuv static-libs" + +RDEPEND="net-libs/usockets[libuv=,static-libs?] + libuv? ( >=dev-libs/libuv-1.35.0[static-libs?] ) +" +DEPEND="${RDEPEND} + www-apps/uwebsockets +" + +src_prepare() { + sed -i -e "s:.ifdef:ifdef:g" \ + -e "s:.else:else:g" \ + -e "s:.endif:endif:g" \ + Makefile + default +} + +src_compile() { + env LDFLAGS="-L/usr/$(get_libdir)" \ + emake $(usex libuv USE_DLIBUV=1 '') \ + $(usex static-libs USE_STATIC=1 '') \ + all +} + +src_install() { + emake prefix="/usr" \ + DESTDIR="${D}" \ + install + einstalldocs +}