26 lines
649 B
Bash
26 lines
649 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-2.0.ebuild,v 1.2 2012/02/16 23:30:21 vapier Exp $
|
|
|
|
EAPI="3"
|
|
|
|
DESCRIPTION="Google's C++ argument parsing library"
|
|
HOMEPAGE="http://code.google.com/p/gflags/"
|
|
SRC_URI="http://gflags.googlecode.com/files/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
IUSE="static-libs"
|
|
|
|
src_configure() {
|
|
econf $(use_enable static-libs static)
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die
|
|
|
|
rm -rf "${D}"/usr/share/doc/*
|
|
dodoc AUTHORS ChangeLog NEWS README
|
|
dohtml doc/*
|
|
}
|