You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-cpp/gflags/gflags-1.6.ebuild

29 lines
708 B

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