/[gentoo-x86]/net-misc/csync/csync-0.60.0.ebuild
Gentoo

Contents of /net-misc/csync/csync-0.60.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Oct 17 06:30:20 2012 UTC (7 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Install docs into the correct directory.

(Portage version: 2.1.11.28/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/csync/csync-0.60.0.ebuild,v 1.2 2012/10/15 08:14:09 scarabeus Exp $
4
5 EAPI=4
6
7 inherit base cmake-utils
8
9 DESCRIPTION="A file synchronizer especially designed for you, the normal user"
10 HOMEPAGE="http://csync.org/"
11 SRC_URI="http://download.owncloud.com/download/o${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="doc log samba +sftp test +webdav"
17
18 RDEPEND="
19 dev-db/sqlite:3
20 >=dev-libs/iniparser-3.1
21 dev-libs/openssl:0
22 log? ( dev-libs/log4c )
23 samba? ( net-fs/samba )
24 sftp? ( net-libs/libssh )
25 webdav? ( net-libs/neon )
26 "
27 DEPEND="${DEPEND}
28 app-text/asciidoc
29 doc? ( app-doc/doxygen )
30 test? ( dev-libs/check )
31 "
32
33 PATCHES=(
34 "${FILESDIR}/${PN}-automagicness.patch"
35 )
36
37 S="${WORKDIR}/o${P}"
38
39 src_prepare() {
40 base_src_prepare
41
42 # punt owncloud test as it uses weird cmocka framework
43 sed -i \
44 -e 's:add_subdirectory(ownCloud)::' \
45 tests/CMakeLists.txt || die
46 # proper docdir
47 sed -i \
48 -e 's:/doc/ocsync:/doc/${PF}:' \
49 doc/CMakeLists.txt || die
50 }
51
52 src_configure() {
53 local mycmakeargs=(
54 "-DLOG_TO_CALLBACK=ON"
55 $(cmake-utils_use test UNIT_TESTING)
56 $(cmake-utils_use_with doc APIDOC)
57 $(cmake-utils_use_with log Log4C)
58 $(cmake-utils_use_with samba Libsmbclient)
59 $(cmake-utils_use_with sftp LibSSH)
60 $(cmake-utils_use_with webdav Neon)
61 )
62 cmake-utils_src_configure
63 }

  ViewVC Help
Powered by ViewVC 1.1.13