app-admin/lsyncd: Install man page in the right place.
authorJeroen Roovers <jer@gentoo.org>
Sun, 25 Sep 2016 19:33:15 +0000 (21:33 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sun, 25 Sep 2016 19:43:43 +0000 (21:43 +0200)
Package-Manager: portage-2.3.1

app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch [new file with mode: 0644]
app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild [new file with mode: 0644]

diff --git a/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch b/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch
new file mode 100644 (file)
index 0000000..c78df89
--- /dev/null
@@ -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/lsyncd.1 DESTINATION man)
++install( FILES doc/lsyncd.1 DESTINATION share/man/man1)
diff --git a/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild b/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild
new file mode 100644 (file)
index 0000000..d8152bf
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 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}