/[gentoo-x86]/dev-cpp/libcmis/libcmis-9999.ebuild
Gentoo

Contents of /dev-cpp/libcmis/libcmis-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Thu Jan 31 15:34:17 2013 UTC (3 months, 3 weeks ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +3 -3 lines
Version bump to latest.

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcmis/libcmis-9999.ebuild,v 1.9 2013/01/12 13:35:55 pinkbyte Exp $
4
5 EAPI=5
6
7 EGIT_REPO_URI="git://gitorious.org/libcmis/libcmis.git"
8 [[ ${PV} == 9999 ]] && SCM_ECLASS="git-2"
9 inherit eutils alternatives autotools ${SCM_ECLASS}
10 unset SCM_ECLASS
11
12 DESCRIPTION="C++ client library for the CMIS interface"
13 HOMEPAGE="https://sourceforge.net/projects/libcmis/"
14 [[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
15
16 LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )"
17 SLOT="0.3"
18
19 # Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
20 [[ ${PV} == 9999 ]] || \
21 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
22
23 IUSE="static-libs man test"
24
25 RDEPEND="
26 !dev-cpp/libcmis:0
27 dev-libs/boost
28 dev-libs/libxml2
29 net-misc/curl
30 "
31 DEPEND="${RDEPEND}
32 virtual/pkgconfig
33 man? (
34 app-text/docbook2X
35 dev-libs/libxslt
36 )
37 test? ( dev-util/cppunit )
38 "
39
40 src_prepare() {
41 [[ ${PV} == 9999 ]] && eautoreconf
42 }
43
44 src_configure() {
45 econf \
46 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
47 --program-suffix=-${SLOT} \
48 --disable-werror \
49 $(use_with man) \
50 $(use_enable static-libs static) \
51 $(use_enable test tests) \
52 --disable-long-tests \
53 --enable-client
54 }
55
56 src_install() {
57 default
58 prune_libtool_files --all
59 }
60
61 pkg_postinst() {
62 alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
63 }
64
65 pkg_postrm() {
66 alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
67 }

  ViewVC Help
Powered by ViewVC 1.1.13