aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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