summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-10-23 11:22:42 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-10-23 11:22:42 +0000
commita9225b54bfe407abed06a5367a2a1f1db762fadb (patch)
treee2fea9ecdb2afc678de1f6772f80e21842c369d7 /dev-libs/libtasn1
parentUpdate the ebuild not to ship .la and .a archives, punt the overshadowed vers... (diff)
downloadgentoo-2-a9225b54bfe407abed06a5367a2a1f1db762fadb.tar.gz
gentoo-2-a9225b54bfe407abed06a5367a2a1f1db762fadb.tar.bz2
gentoo-2-a9225b54bfe407abed06a5367a2a1f1db762fadb.zip
Do not install libtool archive and static library unconditionaly.
(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libtasn1')
-rw-r--r--dev-libs/libtasn1/ChangeLog5
-rw-r--r--dev-libs/libtasn1/libtasn1-2.9-r1.ebuild17
2 files changed, 15 insertions, 7 deletions
diff --git a/dev-libs/libtasn1/ChangeLog b/dev-libs/libtasn1/ChangeLog
index 0a137b7a6603..281bf89e6a51 100644
--- a/dev-libs/libtasn1/ChangeLog
+++ b/dev-libs/libtasn1/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libtasn1
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/ChangeLog,v 1.144 2011/03/22 10:38:40 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/ChangeLog,v 1.145 2011/10/23 11:22:42 scarabeus Exp $
+
+ 23 Oct 2011; Tomáš Chvátal <scarabeus@gentoo.org> libtasn1-2.9-r1.ebuild:
+ Do not install libtool archive and static library unconditionaly.
22 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-libtasn1-2.8.ebuild:
diff --git a/dev-libs/libtasn1/libtasn1-2.9-r1.ebuild b/dev-libs/libtasn1/libtasn1-2.9-r1.ebuild
index 46bdf41f5d19..72b6618312bb 100644
--- a/dev-libs/libtasn1/libtasn1-2.9-r1.ebuild
+++ b/dev-libs/libtasn1/libtasn1-2.9-r1.ebuild
@@ -1,8 +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/libtasn1/libtasn1-2.9-r1.ebuild,v 1.9 2011/03/21 10:56:35 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/libtasn1-2.9-r1.ebuild,v 1.10 2011/10/23 11:22:42 scarabeus Exp $
-EAPI="3"
+EAPI=4
DESCRIPTION="ASN.1 library"
HOMEPAGE="http://www.gnu.org/software/libtasn1/"
@@ -11,21 +11,26 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3 LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="doc"
+IUSE="doc static-libs"
DEPEND=">=dev-lang/perl-5.6
sys-devel/bison"
RDEPEND=""
+DOCS=( AUTHORS ChangeLog NEWS README THANKS )
+
src_configure(){
local myconf
+
[[ "${VALGRIND_TESTS}" == "0" ]] && myconf+=" --disable-valgrind-tests"
- econf ${myconf}
+ econf \
+ $(use_enable static-libs static) \
+ ${myconf}
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS README THANKS || die "dodoc failed"
+ default
+ find "${ED}" -name '*.la' -exec rm -f {} +
if use doc; then
dodoc doc/libtasn1.ps || die "dodoc failed"