aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-04-30 13:14:13 -0400
committerAisha Tammy <gentoo@aisha.cc>2020-04-30 13:14:13 -0400
commit3cc1403e7d14258bd344768ad4ec4f76be9cbf15 (patch)
tree3b43cacaae095193e4059c3cd46114492cf2e181 /net-misc/purritobin/purritobin-9999.ebuild
parentdev-cpp/uwebsockets: async tcp, udp websockets framework (diff)
downloadguru-3cc1403e7d14258bd344768ad4ec4f76be9cbf15.tar.gz
guru-3cc1403e7d14258bd344768ad4ec4f76be9cbf15.tar.bz2
guru-3cc1403e7d14258bd344768ad4ec4f76be9cbf15.zip
net-misc/purritobin: ultra fast, minimalistic commandline pastebin
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'net-misc/purritobin/purritobin-9999.ebuild')
-rw-r--r--net-misc/purritobin/purritobin-9999.ebuild21
1 files changed, 16 insertions, 5 deletions
diff --git a/net-misc/purritobin/purritobin-9999.ebuild b/net-misc/purritobin/purritobin-9999.ebuild
index 7502a8d5..ed23716c 100644
--- a/net-misc/purritobin/purritobin-9999.ebuild
+++ b/net-misc/purritobin/purritobin-9999.ebuild
@@ -16,13 +16,24 @@ else
S="${WORKDIR}/PurritoBin-${PV}"
fi
-LICENSE="GPL-2"
+LICENSE="ISC"
SLOT="0"
-IUSE=""
+IUSE="libuv"
-DEPEND=""
-RDEPEND=""
-BDEPEND=""
+DEPEND=">=dev-cpp/usockets-0.3.5:=[libuv?]
+ >=dev-cpp/uwebsockets-0.17.4
+ libuv? ( >=dev-libs/libuv-1.35.0 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}"
+
+src_compile() {
+ if use libuv; then
+ WITH_LIBUV=1 emake all
+ else
+ emake all
+ fi
+}
src_install() {
emake prefix="/usr" DESTDIR="${D}" install