mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 18:13:10 -04:00
net-misc/purritobin: version bump to 0.3.0
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST purritobin-0.2.4.tar.gz 11356 BLAKE2B 5a96a71b5426f0e27813aaa7287fa803a7127f16e21f15689f325784878b53603536f809d898842ff4eb68a9ceee2e565015e02de4e3eb067f66ed4b84c90e99 SHA512 1394a203b80c0d53c5bd0b5d941c9d69549fb53d3ad2974e197a3d323fc6a9a00b3c5c4c81c6b42bda8b06269886c63faf6246d4c9493fb4d145e858ed69ef1e
|
||||
DIST purritobin-0.3.0.tar.gz 12531 BLAKE2B 78d2c447e5bea602258d328d054229404aeaa3f8ad244e94cc21df09a96da77a90e95052e13e3c918b77de7a186b0231cb994e9fb9b01fe25d0c6398ca794e6b SHA512 3ea26c4cbc03acd17f83e118bcd2a77a9f35f2fad54d60baa68b5451d99d058d709f88d2151d8d3876eb216845b246932f736e96c6690f0ef140cdc8c686a829
|
||||
|
||||
29
net-misc/purritobin/purritobin-0.3.0.ebuild
Normal file
29
net-misc/purritobin/purritobin-0.3.0.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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"
|
||||
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="ISC"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="net-libs/usockets"
|
||||
DEPEND="${RDEPEND}
|
||||
www-apps/uwebsockets
|
||||
"
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="/usr" DESTDIR="${ED}" install
|
||||
einstalldocs
|
||||
}
|
||||
@@ -9,42 +9,21 @@ 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"
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
IUSE="libuv static-libs"
|
||||
|
||||
RDEPEND="net-libs/usockets[libuv=,static-libs?]
|
||||
libuv? ( >=dev-libs/libuv-1.35.0[static-libs?] )
|
||||
"
|
||||
RDEPEND="net-libs/usockets"
|
||||
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
|
||||
emake PREFIX="/usr" DESTDIR="${ED}" install
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user