summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/lsyncd')
-rw-r--r--app-admin/lsyncd/Manifest1
-rw-r--r--app-admin/lsyncd/files/lsyncd-2.2.0-mandir.patch8
-rw-r--r--app-admin/lsyncd/lsyncd-2.2.0.ebuild29
3 files changed, 38 insertions, 0 deletions
diff --git a/app-admin/lsyncd/Manifest b/app-admin/lsyncd/Manifest
index 67ada6f825f0..3e6631d8ab12 100644
--- a/app-admin/lsyncd/Manifest
+++ b/app-admin/lsyncd/Manifest
@@ -1,2 +1,3 @@
DIST lsyncd-2.1.5.tar.gz 149873 SHA256 4a793056c4ed833edb59436d7711bb65f7e38a4d8d44371cc9dc5eb91fbc461f SHA512 7be939e979525f8e4687432ffe952b1d09b8a34b4d7f92ebe86b5cddb765dbd602258682612529e9cc51305d6d001e72de9e6da62761397df23ecda30fd6a12b WHIRLPOOL 3b5405759542b9a97253fcbc3c66d8005c44045e76527ae645cbaa04cf570f4a5f44a863632b5fc17cba215253743cf0fac8a39cbca488d3b5bfc58a82948ee8
DIST lsyncd-2.1.6.tar.gz 78944 SHA256 02c241ee71b6abb23a796ac994a414e1229f530c249b838ae72d2ef74ae0f775 SHA512 9831dfc41a459e35096b46c9225a6a50398b4886ef76fb71bd42e32b522b330e3cf3f49bfd1a2fd44c5df726f9c666c2f6064e4653ecf4cce3a7da4b69ddbef9 WHIRLPOOL 6d0341c7e3459886bbda81ccd95e693f74d40157c22c4bb62a7bf991256121718ff0e4cbf78b9821783d775bc28da3ccacfa4047b863586c71748d05b6997a9f
+DIST lsyncd-2.2.0.tar.gz 81034 SHA256 fb4b49c314846c251b624f9ee3129483c4b3d4d53c5263bb36086feb17f2e800 SHA512 75a138c2e85c4c5a3d6b215cb8df1668e5ffb6c8099f79caf555369d12348e2bdff29c1b01d62613bddd5b5a67f2a44e2fe86412048bc622088912e3fa783e81 WHIRLPOOL 9560a44f77aede8159871d3f3a857aa1c82b1db8832a72ba8a048e324836e1da6ca3ea376bc4c1c5312d0b19ed1a07105a5060adeae64f45db6965cefd729e57
diff --git a/app-admin/lsyncd/files/lsyncd-2.2.0-mandir.patch b/app-admin/lsyncd/files/lsyncd-2.2.0-mandir.patch
new file mode 100644
index 000000000000..76e01d5bcacb
--- /dev/null
+++ b/app-admin/lsyncd/files/lsyncd-2.2.0-mandir.patch
@@ -0,0 +1,8 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -92,4 +92,4 @@
+ target_link_libraries( lsyncd ${LUA_LIBRARIES} )
+
+ install( TARGETS lsyncd RUNTIME DESTINATION bin )
+-install( FILES doc/manpage/lsyncd.1 DESTINATION man )
++install( FILES doc/manpage/lsyncd.1 DESTINATION share/man/man1 )
diff --git a/app-admin/lsyncd/lsyncd-2.2.0.ebuild b/app-admin/lsyncd/lsyncd-2.2.0.ebuild
new file mode 100644
index 000000000000..fa0e2be30132
--- /dev/null
+++ b/app-admin/lsyncd/lsyncd-2.2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CMAKE_IN_SOURCE_BUILD="YES_PLEASE_OMG"
+inherit cmake-utils
+
+DESCRIPTION="Live Syncing (Mirror) Daemon"
+HOMEPAGE="https://github.com/axkibe/lsyncd"
+SRC_URI="https://github.com/axkibe/lsyncd/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+CDEPEND=">=dev-lang/lua-5.1[deprecated]"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ net-misc/rsync"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-mandir.patch
+)
+
+S=${WORKDIR}/${PN}-release-${PV}