summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-03-20 19:08:20 +0000
committerChristoph Mende <angelos@gentoo.org>2011-03-20 19:08:20 +0000
commit5d2a652f6c3e790fc74ad68b869031292cbef311 (patch)
tree5d2f0f5eb0301f25b77617abab03daa2f499ac8e /dev-libs
parentVersion bump to 0.10.0 (diff)
downloadgentoo-2-5d2a652f6c3e790fc74ad68b869031292cbef311.tar.gz
gentoo-2-5d2a652f6c3e790fc74ad68b869031292cbef311.tar.bz2
gentoo-2-5d2a652f6c3e790fc74ad68b869031292cbef311.zip
Added several die statements and removed .la files
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/argtable/ChangeLog5
-rw-r--r--dev-libs/argtable/argtable-2.13.ebuild16
2 files changed, 13 insertions, 8 deletions
diff --git a/dev-libs/argtable/ChangeLog b/dev-libs/argtable/ChangeLog
index ed4bc7197c6b..937a529a3d44 100644
--- a/dev-libs/argtable/ChangeLog
+++ b/dev-libs/argtable/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/argtable
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/argtable/ChangeLog,v 1.33 2011/03/20 19:08:20 angelos Exp $
+
+ 20 Mar 2011; Christoph Mende <angelos@gentoo.org> argtable-2.13.ebuild:
+ Added several die statements and removed .la files
*argtable-2.13 (18 Feb 2011)
diff --git a/dev-libs/argtable/argtable-2.13.ebuild b/dev-libs/argtable/argtable-2.13.ebuild
index 9533a6103b45..e033d8887d90 100644
--- a/dev-libs/argtable/argtable-2.13.ebuild
+++ b/dev-libs/argtable/argtable-2.13.ebuild
@@ -1,7 +1,8 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/argtable/argtable-2.13.ebuild,v 1.2 2011/03/20 19:08:20 angelos Exp $
+EAPI=3
inherit versionator
DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss"
@@ -19,26 +20,27 @@ IUSE="doc debug examples"
S="${WORKDIR}/${MY_P}"
-src_compile() {
+src_configure() {
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
+ dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
if use doc ; then
cd "${S}/doc"
- dohtml *.html *.gif
- dodoc *.pdf *.ps
+ dohtml *.html *.gif || die "dohtml failed"
+ dodoc *.pdf *.ps || die "dodoc failed"
fi
if use examples ; then
cd "${S}/example"
docinto examples
- dodoc Makefile *.[ch] README.txt
+ dodoc Makefile *.[ch] README.txt || die "dodoc failed"
fi
+
+ find "${ED}" -name "*.la" -delete || die "failed to delete .la files"
}