public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev]  Re: gentoo-x86 commit in dev-cpp/gflags: metadata.xml Manifest gflags-0.7.ebuild ChangeLog
       [not found] <E1JYG8Z-0004Ca-Gp@stork.gentoo.org>
@ 2008-03-10  7:45 ` Tiziano Müller
  0 siblings, 0 replies; only message in thread
From: Tiziano Müller @ 2008-03-10  7:45 UTC (permalink / raw
  To: gentoo-dev

Alec Warner (antarus) wrote:

> Index: gflags-0.7.ebuild
> ===================================================================
> # Copyright 1999-2008 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> # $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-0.7.ebuild,v 1.1
> # 2008/03/09 07:40:02 antarus Exp $
> 
> inherit distutils
> 
> DESCRIPTION="Google's C++ argument parsing library with python
> extensions." HOMEPAGE="http://code.google.com/p/google-gflags/"
> SRC_URI="ftp://foo.bar.com/${P}.tar.gz"
> LICENSE="BSD"
> SLOT="0"
> KEYWORDS="~amd64"
> IUSE="python"
> 
> DEPEND=""
> RDEPEND="${DEPEND}"
> 
> src_compile() {
> econf || die "econf failed"
> emake || die "emake failed"
> }
Please add a
if use python; then
    distutils_src_compile
fi

> 
> src_install() {
> emake DESTDIR="${D}" install || die "emake install failed"
> if use python;
> then
> cd python
> distutils_src_install
> fi
> }

The google-packages install everything in /usr/share/doc/${PF}. This also
includes COPYING and INSTALL as well as html-files.
You'll have to install the docs manually (check sparsehash, has the same
problem).

And you depend on python unconditionally. Rather use the python.eclass and
the "Optimize/cleanup idiom" from
http://www.gentoo.org/proj/en/Python/developersguide.xml

Cheers.

-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-10  7:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JYG8Z-0004Ca-Gp@stork.gentoo.org>
2008-03-10  7:45 ` [gentoo-dev] Re: gentoo-x86 commit in dev-cpp/gflags: metadata.xml Manifest gflags-0.7.ebuild ChangeLog Tiziano Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox