/[gentoo-x86]/dev-libs/pth/pth-2.0.7-r3.ebuild
Gentoo

Contents of /dev-libs/pth/pth-2.0.7-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Fri May 13 15:35:48 2011 UTC (8 years, 9 months ago) by jer
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for HPPA (bug #366665).

(Portage version: 2.2.0_alpha33/cvs/Linux i686)

1 armin76 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jer 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild,v 1.2 2011/05/11 18:21:41 hwoarang Exp $
4 armin76 1.1
5     inherit eutils fixheadtails libtool flag-o-matic
6    
7     DESCRIPTION="GNU Portable Threads"
8     HOMEPAGE="http://www.gnu.org/software/pth/"
9     SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
10    
11     LICENSE="LGPL-2.1"
12     SLOT="0"
13 jer 1.3 KEYWORDS="~alpha amd64 arm hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sh ~sparc ~x86 ~x86-fbsd"
14 armin76 1.1 IUSE="debug"
15    
16     DEPEND=""
17     RDEPEND="${DEPEND}"
18    
19     src_unpack() {
20     unpack ${A}
21     cd "${S}"
22     epatch "${FILESDIR}"/${PN}-2.0.5-parallelfix.patch
23     epatch "${FILESDIR}"/${PN}-2.0.6-ldflags.patch
24     epatch "${FILESDIR}"/${PN}-2.0.6-sigstack.patch
25     epatch "${FILESDIR}"/${PN}-2.0.7-parallel-install.patch
26     epatch "${FILESDIR}"/${PN}-2.0.7-ia64.patch
27    
28     ht_fix_file aclocal.m4 configure
29    
30     elibtoolize
31     }
32    
33     src_compile() {
34     # bug 350815
35     ( use arm || use sh ) && append-flags -U_FORTIFY_SOURCE
36    
37     local conf
38     use debug && conf="${conf} --enable-debug" # have a bug --disable-debug and shared
39     econf ${conf} || die
40     emake || die
41     }
42    
43     src_install() {
44     #Parallel install issuse fixed with parallel-install.patch.
45     #Submitted upstream on 12-13-2010.
46     emake DESTDIR="${D}" install || die
47     dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS || die
48     }

  ViewVC Help
Powered by ViewVC 1.1.20