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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jan 25 19:11:15 2011 UTC (9 years, 2 months ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Delete older ebuilds.

(Portage version: 2.2.0_alpha19_p1/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r1.ebuild,v 1.3 2010/12/13 18:30:22 c1pher Exp $
4
5 inherit eutils fixheadtails libtool
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 KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
14 IUSE="debug"
15
16 DEPEND=""
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
21 epatch "${FILESDIR}"/${PN}-2.0.5-parallelfix.patch
22 epatch "${FILESDIR}"/${PN}-2.0.6-ldflags.patch
23 epatch "${FILESDIR}"/${PN}-2.0.6-sigstack.patch
24
25 ht_fix_file aclocal.m4 configure
26
27 elibtoolize
28 }
29
30 src_compile() {
31 local conf
32 use debug && conf="${conf} --enable-debug" # have a bug --disable-debug and shared
33 econf ${conf} || die
34 emake || die
35 }
36
37 src_install() {
38 # install is not parallel safe (last checked 2.0.7-r1)
39 emake -j1 DESTDIR="${D}" install || die
40 dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS
41 }

  ViewVC Help
Powered by ViewVC 1.1.20