diff options
author | Christoph Mende <angelos@gentoo.org> | 2009-01-28 19:23:16 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2009-01-28 19:23:16 +0000 |
commit | 0cb3e60d07b8ddcc4d6f0e8e40fd88ecc6e9bc14 (patch) | |
tree | 4be08198b4198dda1ca72663da198c57bc2509ed /dev-libs/argtable/argtable-2.10.ebuild | |
parent | Bump, fixing 256157. Drop gnome2.eclass usage, I once again got bit by bug 23... (diff) | |
download | historical-0cb3e60d07b8ddcc4d6f0e8e40fd88ecc6e9bc14.tar.gz historical-0cb3e60d07b8ddcc4d6f0e8e40fd88ecc6e9bc14.tar.bz2 historical-0cb3e60d07b8ddcc4d6f0e8e40fd88ecc6e9bc14.zip |
Version bump
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/argtable/argtable-2.10.ebuild')
-rw-r--r-- | dev-libs/argtable/argtable-2.10.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/argtable/argtable-2.10.ebuild b/dev-libs/argtable/argtable-2.10.ebuild new file mode 100644 index 000000000000..508debb17899 --- /dev/null +++ b/dev-libs/argtable/argtable-2.10.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/argtable/argtable-2.10.ebuild,v 1.1 2009/01/28 19:23:16 angelos Exp $ + +inherit versionator + +DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss" +HOMEPAGE="http://argtable.sourceforge.net/" + +MY_PV="$(replace_version_separator 1 '-')" +MY_P=${PN}${MY_PV} + +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc debug examples" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf $(use_enable debug) + emake || die "build failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + rm -rf "${D}"/usr/share/doc/${PN}2/ + + dodoc AUTHORS ChangeLog NEWS README + + if use doc ; then + cd "${S}/doc" + dohtml *.html *.gif + dodoc *.pdf *.ps + fi + + if use examples ; then + cd "${S}/example" + docinto examples + dodoc Makefile *.[ch] README.txt + fi +} |