summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-08-24 15:07:32 +0200
committerPacho Ramos <pacho@gentoo.org>2016-08-24 15:07:42 +0200
commit47db15d2dfb8e89587ce5371c6f39e2cc221941f (patch)
tree9e2313cb68d6e48bdb5ecf7811327c13e124e035 /net-im/gg-transport
parentvirtual/libc: not necessary only for prefix-guest. (diff)
downloadgentoo-47db15d2dfb8e89587ce5371c6f39e2cc221941f.tar.gz
gentoo-47db15d2dfb8e89587ce5371c6f39e2cc221941f.tar.bz2
gentoo-47db15d2dfb8e89587ce5371c6f39e2cc221941f.zip
net-im/gg-transport: Version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-im/gg-transport')
-rw-r--r--net-im/gg-transport/Manifest1
-rw-r--r--net-im/gg-transport/gg-transport-2.2.6.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/net-im/gg-transport/Manifest b/net-im/gg-transport/Manifest
index a9bfbe39e71..7296bf247ce 100644
--- a/net-im/gg-transport/Manifest
+++ b/net-im/gg-transport/Manifest
@@ -1 +1,2 @@
DIST jggtrans-2.2.4.tar.gz 796625 SHA256 678db2bef8e867889715663188f6ac785c7bf6e1bd0840a000f0a76b28892830 SHA512 5487504bc307001bc6bce927cd32e46b126148423aac8fc59944af59c67c5fba68bce001b5321d80a5392758ea88d445f2b68133636afe1f218a4fb696e319bd WHIRLPOOL 5cf18cade4e0e9a6489e42a4cfebcabf54f218f68d8a22312f7bf9dbba475d1b62bc6dc81fa0d9f61d5021e2f5084f399961f40db8948599462a28ccc4f53808
+DIST jggtrans-2.2.6.tar.gz 883775 SHA256 b3e0a56aa2e1e61a182b62bfcffaf585328ebd23b81651990c821d733ac9cde1 SHA512 9fa6beb03427dc29db6b1aa5707486b857d3f850ed4efc9f2a627cbec4a9e40c91a9092b42a4a338976659f6ebfa0ca6f69e194e51bc51744a7665494fc210e7 WHIRLPOOL e1511af1d355921d202d60442d7b2e130706e1de32d9a4fcdcbaf627c8ffce83bd14e5caa6214db44fc3387f9c96b788391d3f3754acd4dd10db822f9fc6c147
diff --git a/net-im/gg-transport/gg-transport-2.2.6.ebuild b/net-im/gg-transport/gg-transport-2.2.6.ebuild
new file mode 100644
index 00000000000..6004f87db60
--- /dev/null
+++ b/net-im/gg-transport/gg-transport-2.2.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Gadu-Gadu transport for Jabber"
+HOMEPAGE="https://github.com/Jajcus/jggtrans"
+SRC_URI="https://github.com/Jajcus/jggtrans/releases/download/v${PV}/jggtrans-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=net-im/jabber-base-0.01
+ >=dev-libs/glib-2.6.4:2
+ net-dns/libidn
+ >=net-libs/libgadu-1.9.0_rc3
+ dev-libs/expat"
+DEPEND="${RDEPEND}
+ >=sys-devel/gettext-0.18.3
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/jggtrans-${PV}"
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ keepdir /var/spool/jabber/gg
+ keepdir /var/run/jabber
+ keepdir /var/log/jabber
+ fowners jabber:jabber /var/spool/jabber/gg
+ fowners jabber:jabber /var/run/jabber
+ fowners jabber:jabber /var/log/jabber
+
+ newinitd "${FILESDIR}/jggtrans-2.2.4" jggtrans
+
+ insinto /etc/jabber
+ doins jggtrans.xml
+
+ sed -i \
+ -e 's,/var/lib/jabber/spool/gg.localhost/,/var/spool/jabber/gg/,' \
+ -e 's,/var/lib/jabber/ggtrans.pid,/var/run/jabber/jggtrans.pid,' \
+ -e 's,/tmp/ggtrans.log,/var/log/jabber/jggtrans.log,' \
+ "${D}/etc/jabber/jggtrans.xml" || die "sed failed"
+
+ einstalldocs
+}