diff options
-rw-r--r-- | dev-libs/argtable/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/argtable/argtable-2.13.ebuild | 44 |
2 files changed, 51 insertions, 2 deletions
diff --git a/dev-libs/argtable/ChangeLog b/dev-libs/argtable/ChangeLog index 7f3c98513c79..ed4bc7197c6b 100644 --- a/dev-libs/argtable/ChangeLog +++ b/dev-libs/argtable/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/argtable -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/argtable/ChangeLog,v 1.31 2010/12/14 21:38:14 angelos Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/argtable/ChangeLog,v 1.32 2011/02/18 11:59:27 angelos Exp $ + +*argtable-2.13 (18 Feb 2011) + + 18 Feb 2011; <angelos@gentoo.org> +argtable-2.13.ebuild: + Version bump 14 Dec 2010; Christoph Mende <angelos@gentoo.org> -argtable-2.9.ebuild, -argtable-2.10.ebuild: diff --git a/dev-libs/argtable/argtable-2.13.ebuild b/dev-libs/argtable/argtable-2.13.ebuild new file mode 100644 index 000000000000..9533a6103b45 --- /dev/null +++ b/dev-libs/argtable/argtable-2.13.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/argtable/argtable-2.13.ebuild,v 1.1 2011/02/18 11:59:27 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 +} |