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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jun 11 19:20:06 2015 UTC (5 years, 5 months ago) by maekke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
arm stable, bug #546186

(Portage version: 2.2.20/cvs/Linux x86_64, RepoMan options: --include-arches="arm", signed Manifest commit with key 072AD062)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libqmi/libqmi-1.12.6.ebuild,v 1.3 2015/04/19 09:57:31 ago 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 ~mips 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