summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2016-10-23 16:09:54 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-10-23 16:22:30 +0200
commit80e957f38969ec82410479b12a7ddb3e7240e521 (patch)
treeeb9b4b18ed50dd40ec302b4d75477db6b2cf2eca /net-p2p/airdcpp-webclient/airdcpp-webclient-1.3.1.ebuild
parentsci-libs/scikits_timeseries: update metadata.xml file. (diff)
downloadgentoo-80e957f38969ec82410479b12a7ddb3e7240e521.tar.gz
gentoo-80e957f38969ec82410479b12a7ddb3e7240e521.tar.bz2
gentoo-80e957f38969ec82410479b12a7ddb3e7240e521.zip
net-p2p/airdcpp-webclient: version bump to 1.3.1.
Package-Manager: portage-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/2647 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-p2p/airdcpp-webclient/airdcpp-webclient-1.3.1.ebuild')
-rw-r--r--net-p2p/airdcpp-webclient/airdcpp-webclient-1.3.1.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-1.3.1.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-1.3.1.ebuild
new file mode 100644
index 00000000000..0fa03c344da
--- /dev/null
+++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-1.3.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils user
+
+DESCRIPTION="Cross-platform Direct Connect client"
+HOMEPAGE="https://airdcpp-web.github.io/"
+SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="nat-pmp +tbb +webui"
+
+RDEPEND="
+ app-arch/bzip2
+ dev-cpp/websocketpp
+ dev-libs/boost
+ dev-libs/geoip
+ dev-libs/leveldb
+ dev-libs/openssl:0=[-bindist]
+ net-libs/miniupnpc
+ sys-libs/zlib
+ virtual/libiconv
+ nat-pmp? ( net-libs/libnatpmp )
+ tbb? ( dev-cpp/tbb )
+"
+DEPEND="
+ dev-lang/python:*
+ virtual/pkgconfig
+ ${RDEPEND}
+"
+PDEPEND="webui? ( www-apps/airdcpp-webui )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DINSTALL_WEB_UI=OFF
+ -DLIB_INSTALL_DIR=$(get_libdir)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ newconfd "${FILESDIR}/airdcppd.confd" airdcppd
+ newinitd "${FILESDIR}/airdcppd.initd" airdcppd
+ keepdir /var/lib/airdcppd
+ fowners airdcppd:airdcppd /var/lib/airdcppd
+ cmake-utils_src_install
+}
+
+pkg_setup() {
+ enewgroup airdcppd
+ enewuser airdcppd -1 -1 /var/lib/airdcppd airdcppd
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Run 'airdcppd --configure' to set up ports and authentication"
+ fi
+}