/[gentoo-x86]/net-libs/libqmi/libqmi-9999.ebuild
Gentoo

Contents of /net-libs/libqmi/libqmi-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Mar 8 22:12:24 2014 UTC (6 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -4 lines
Drop --with-tests flag as it no longer exists #503766 by Markus Meier.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libqmi/libqmi-9999.ebuild,v 1.7 2014/01/20 04:58:40 alexxy Exp $
4
5 EAPI="5"
6
7 inherit multilib
8 if [[ ${PV} == "9999" ]] ; then
9 inherit git-r3 autotools
10 EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}"
11 else
12 KEYWORDS="~amd64 ~arm ~x86"
13 SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz"
14 fi
15
16 DESCRIPTION="QMI modem protocol helper library"
17 HOMEPAGE="http://cgit.freedesktop.org/libqmi/"
18
19 LICENSE="LGPL-2"
20 SLOT="0"
21 IUSE="doc static-libs"
22
23 RDEPEND=">=dev-libs/glib-2.32"
24 DEPEND="${RDEPEND}
25 doc? ( dev-util/gtk-doc )
26 virtual/pkgconfig"
27 [[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214
28
29 src_prepare() {
30 [[ -e configure ]] || eautoreconf
31 }
32
33 src_configure() {
34 econf \
35 --disable-more-warnings \
36 $(use_enable static{-libs,}) \
37 $(use_enable {,gtk-}doc)
38 }
39
40 src_install() {
41 default
42 use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20