blob: 5879adc2ca2a7173be058defee11553c99b4f327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-2.1.1-r1.ebuild,v 1.1 2014/07/16 14:53:36 hasufell Exp $
EAPI="5"
inherit cmake-multilib
DESCRIPTION="Google's C++ argument parsing library"
HOMEPAGE="http://code.google.com/p/gflags/"
SRC_URI="https://github.com/schuhschuh/gflags/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs"
PATCHES=( "${FILESDIR}/gflags-2.1.1-libs.patch" )
multilib_src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
$(cmake-utils_use_build static-libs STATIC_LIBS)
)
cmake-utils_src_configure
}
multilib_src_install_all() {
rm -rf "${ED}"/usr/share/doc
dodoc {AUTHORS,ChangeLog,NEWS,README}.txt
dohtml doc/*
}
|