summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2016-08-03 09:57:43 +0800
committerYixun Lan <dlan@gentoo.org>2016-08-03 09:58:14 +0800
commit32c16627efb86809cc9b100e269b642c6d0f4001 (patch)
tree66eb9dd4e18993019674d548279a487aecab20ed /app-misc/tmate
parentdev-python/pyqwt: simplify dependency on PyQt4 (diff)
downloadgentoo-32c16627efb86809cc9b100e269b642c6d0f4001.tar.gz
gentoo-32c16627efb86809cc9b100e269b642c6d0f4001.tar.bz2
gentoo-32c16627efb86809cc9b100e269b642c6d0f4001.zip
app-misc/tmate: version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-misc/tmate')
-rw-r--r--app-misc/tmate/Manifest1
-rw-r--r--app-misc/tmate/tmate-2.2.1.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/tmate/Manifest b/app-misc/tmate/Manifest
index 58de49634b7..0046161de6b 100644
--- a/app-misc/tmate/Manifest
+++ b/app-misc/tmate/Manifest
@@ -1,2 +1,3 @@
DIST tmate-2.2.0-upstream-patches-0.tar.xz 6784 SHA256 aa5b0ca858bb652418aa5200f0f5dcda0827295c16fb73fd34594d718a65878a SHA512 3e16e0b7988d3d1942fcac0a535d2cc8d7156d26332dc84fd21c4761afae40159282b0fbeb71cd5f6525b5a1c7a46e7813c8e6a11851592077570c1a001a73a7 WHIRLPOOL fb05b5d90f2542bb2e8fdc8c5df988338d5626bd48899697b8c16b9078ca71d2b2682c648f5f7c37ed8cd4a9966b1c6d5524823b34a4ac4cb9833a62325bb39c
DIST tmate-2.2.0.tar.gz 610793 SHA256 932148b24d9c67e524ce744c9480b5603c9f976afb6ad7ca6d63246cd9e7fd3a SHA512 e9429833cdb8c28873d01bfc6b9a0d1241e30346ef1b3efae6763389c8444943b831283c1ea65e49c68d11936d6586186b38e0f7c14d373d9f63e841026c3338 WHIRLPOOL e1a2203e9a63466244d9d61e6e06d4dea77a9eb3e7069c1c87c115e5ce370e3b3b7ad2d7fc8b4c740030ee980b4d52833066f853a05d1c611a5d5c4810c89a36
+DIST tmate-2.2.1.tar.gz 610745 SHA256 d9c2ac59f42e65aac5f500f0548ea8056fd79c9c5285e5af324d833e2a84c305 SHA512 3d4ce7510cd8da39bc4fe63f2a64179846a813bb3560ca811d9e1e2a28b06d95a9033047a900d76bda069c249d7ebbe1143daa082b23212c5d32a50bf1819d2d WHIRLPOOL b0d90d28b263b1e7c6dbf755c7e2d5f37598e63d484189d04ee15d5b3f09f84efc9e22dd75576a627e8c27ef0dd4524d59ed882f8fff2efca43664fbe3772bf9
diff --git a/app-misc/tmate/tmate-2.2.1.ebuild b/app-misc/tmate/tmate-2.2.1.ebuild
new file mode 100644
index 00000000000..460f89e3c59
--- /dev/null
+++ b/app-misc/tmate/tmate-2.2.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit eutils autotools-utils
+
+DESCRIPTION="Instant terminal sharing"
+HOMEPAGE="http://tmate.io/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug static-libs"
+
+UPSTREAM_VER=
+[[ -n ${UPSTREAM_VER} ]] && \
+ UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
+SRC_URI="https://github.com/tmate-io/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ ${UPSTREAM_PATCHSET_URI}"
+
+RDEPEND="
+ sys-libs/zlib[static-libs?]
+ sys-libs/libutempter[static-libs?]
+ dev-libs/openssl[static-libs?]
+ dev-libs/libevent[static-libs?]
+ dev-libs/msgpack[static-libs?]
+ >=net-libs/libssh-0.6.0[static-libs?]
+"
+DEPEND="${RPDEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Upstream's patchset
+ if [[ -n ${UPSTREAM_VER} ]]; then
+ einfo "Try to apply tmate Upstream patch set"
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ EPATCH_OPTS="-p1" \
+ epatch "${WORKDIR}"/patches-upstream
+ fi
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}