/[gentoo-x86]/dev-libs/libtasn1/libtasn1-3.6.ebuild
Gentoo

Contents of /dev-libs/libtasn1/libtasn1-3.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sat Jul 5 12:55:55 2014 UTC (2 months, 2 weeks ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +2 -2 lines
Stable for sparc, wrt bug #511536

(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --include-arches="sparc", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/libtasn1-3.6.ebuild,v 1.12 2014/07/05 12:54:26 ago Exp $
4
5 EAPI=5
6
7 inherit autotools autotools-multilib
8
9 DESCRIPTION="ASN.1 library"
10 HOMEPAGE="http://www.gnu.org/software/libtasn1/"
11 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-3 LGPL-2.1"
14 SLOT="0/6" # subslot = libtasn1 soname version
15 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
16 IUSE="doc static-libs"
17
18 DEPEND=">=dev-lang/perl-5.6
19 sys-apps/help2man
20 virtual/yacc"
21 RDEPEND="
22 abi_x86_32? (
23 !<=app-emulation/emul-linux-x86-baselibs-20131008-r16
24 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
25 )"
26
27 DOCS=( AUTHORS ChangeLog NEWS README THANKS )
28
29 src_prepare() {
30 epatch "${FILESDIR}/${P}-build.patch"
31 sed -i 's/AM_INIT_AUTOMAKE(\[\(.*\)\])/AM_INIT_AUTOMAKE([\1 -Wno-portability])/' configure.ac
32 eautoreconf
33 }
34
35 src_configure() {
36 local myeconfargs
37 [[ "${VALGRIND_TESTS}" == "0" ]] && myeconfargs+=( --disable-valgrind-tests )
38 autotools-multilib_src_configure
39 }
40
41 src_install() {
42 autotools-multilib_src_install
43
44 if use doc ; then
45 dodoc doc/libtasn1.pdf
46 dohtml doc/reference/html/*
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20