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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Sep 12 19:27:37 2014 UTC (6 years, 2 months ago) by vincent
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Add ~mips keyword

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

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="4"
6
7 inherit multilib autotools eutils
8 if [[ ${PV} == "9999" ]] ; then
9 inherit git-2
10 EGIT_REPO_URI="git://anongit.freedesktop.org/libqmi"
11 else
12 KEYWORDS="~amd64 ~arm ~mips ~x86"
13 SRC_URI="http://cgit.freedesktop.org/libqmi/snapshot/${P}.tar.gz"
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 test"
22
23 RDEPEND=">=dev-libs/glib-2.32"
24 DEPEND="${RDEPEND}
25 doc? ( dev-util/gtk-doc )
26 virtual/pkgconfig"
27
28 src_prepare() {
29 epatch "${FILESDIR}"/${PN}-1.0.0-python3.patch #464314
30 if [[ ! -e configure ]] ; then
31 find -name Makefile.am -exec sed -i 's:^INCLUDES:AM_CPPFLAGS:' {} + || die
32 sed -i \
33 -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
34 {cli/test,libqmi-glib/test}/Makefile.am || die
35 eautoreconf
36 fi
37 }
38
39 src_configure() {
40 econf \
41 --disable-more-warnings \
42 $(use_enable static{-libs,}) \
43 $(use_with doc{,s}) \
44 $(use_with test{,s})
45 }
46
47 src_install() {
48 default
49 use static-libs || rm -f "${ED}"/usr/$(get_libdir)/libqmi-glib.la
50 }

  ViewVC Help
Powered by ViewVC 1.1.20