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

Diff of /dev-libs/pth/pth-1.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.25
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/Attic/pth-1.4.0.ebuild,v 1.8 2002/12/09 04:21:04 manson Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/Attic/pth-1.4.0.ebuild,v 1.25 2006/05/11 02:23:27 vapier Exp $
4 4
5S=${WORKDIR}/${P} 5inherit libtool
6
6DESCRIPTION="GNU Portable Threads" 7DESCRIPTION="GNU Portable Threads"
7SRC_URI="ftp://ftp.gnu.org/gnu/pth/pth-${PV}.tar.gz"
8HOMEPAGE="http://www.gnu.org/software/pth/" 8HOMEPAGE="http://www.gnu.org/software/pth/"
9SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
9 10
11LICENSE="LGPL-2.1"
10SLOT="0" 12SLOT="0"
11LICENSE="LGPL-2.1" 13KEYWORDS="alpha amd64 arm hppa ppc ppc-macos ppc64 s390 sh sparc x86"
12KEYWORDS="x86 sparc " 14IUSE=""
13 15
14DEPEND="virtual/glibc" 16DEPEND=""
15 17
16src_compile() { 18src_unpack() {
17 econf || die 19 unpack ${A}
18 emake || die 20 use ppc-macos && darwintoolize
21 #fix warnings
22 sed -i "s:pow10:math_pow10:g" "${S}"/pth_string.c
23 sed -i "s:round:math_round:g" "${S}"/pth_string.c
19} 24}
20 25
21src_install() { 26src_install() {
22 einstall || die 27 einstall || die
23 dodoc ANNOUNCE AUTHORS COPYING ChangeLog NEWS README THANKS USERS 28 dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS
24} 29}

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20