/[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.9 - (hide annotations) (download)
Wed Feb 20 23:41:16 2013 UTC (7 years ago) by zmedico
Branch: MAIN
Changes since 1.8: +3 -3 lines
Add ~arm-linux keyword.

(Portage version: 2.2.0_alpha163_p9/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3)

1 zmedico 1.9 # Copyright 1999-2013 Gentoo Foundation
2 armin76 1.1 # Distributed under the terms of the GNU General Public License v2
3 zmedico 1.9 # $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild,v 1.8 2012/08/08 15:01:43 armin76 Exp $
4 scarabeus 1.6
5     EAPI=4
6 armin76 1.1
7     inherit eutils fixheadtails libtool flag-o-matic
8    
9     DESCRIPTION="GNU Portable Threads"
10     HOMEPAGE="http://www.gnu.org/software/pth/"
11     SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
12    
13     LICENSE="LGPL-2.1"
14     SLOT="0"
15 zmedico 1.9 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~arm-linux ~x86-fbsd"
16 scarabeus 1.6 IUSE="debug static-libs"
17 armin76 1.1
18     DEPEND=""
19     RDEPEND="${DEPEND}"
20    
21 scarabeus 1.6 DOCS="ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS"
22    
23     src_prepare() {
24 armin76 1.1 epatch "${FILESDIR}"/${PN}-2.0.5-parallelfix.patch
25     epatch "${FILESDIR}"/${PN}-2.0.6-ldflags.patch
26     epatch "${FILESDIR}"/${PN}-2.0.6-sigstack.patch
27     epatch "${FILESDIR}"/${PN}-2.0.7-parallel-install.patch
28     epatch "${FILESDIR}"/${PN}-2.0.7-ia64.patch
29 armin76 1.8 epatch "${FILESDIR}"/${PN}-2.0.7-kernel-3.patch
30 armin76 1.1
31     ht_fix_file aclocal.m4 configure
32    
33     elibtoolize
34     }
35    
36 scarabeus 1.6 src_configure() {
37 armin76 1.1 # bug 350815
38     ( use arm || use sh ) && append-flags -U_FORTIFY_SOURCE
39    
40     local conf
41     use debug && conf="${conf} --enable-debug" # have a bug --disable-debug and shared
42 scarabeus 1.6 econf \
43     ${conf} \
44     $(use_enable static-libs static)
45 armin76 1.1 }
46    
47     src_install() {
48 scarabeus 1.6 default
49     find "${ED}" -name '*.la' -exec rm -f {} +
50 armin76 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20