/[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.14 Revision 1.23
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2005 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.14 2004/06/08 12:36:07 gmsoft Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/Attic/pth-1.4.0.ebuild,v 1.23 2005/03/25 14:31:43 vanquirius Exp $
4 4
5inherit gnuconfig 5inherit gnuconfig libtool
6 6
7DESCRIPTION="GNU Portable Threads" 7DESCRIPTION="GNU Portable Threads"
8HOMEPAGE="http://www.gnu.org/software/pth/" 8HOMEPAGE="http://www.gnu.org/software/pth/"
9SRC_URI="ftp://ftp.gnu.org/gnu/pth/pth-${PV}.tar.gz" 9SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
10 10
11LICENSE="LGPL-2.1" 11LICENSE="LGPL-2.1"
12SLOT="0" 12SLOT="0"
13KEYWORDS="x86 ppc sparc alpha ~amd64 hppa" 13KEYWORDS="x86 ppc sparc alpha amd64 hppa ppc-macos ppc64"
14IUSE=""
14 15
15DEPEND="virtual/glibc" 16DEPEND="virtual/libc"
16 17
17src_unpack() { 18src_unpack() {
18 unpack ${A} 19 unpack ${A}
19 useq amd64 && gnuconfig_update 20 gnuconfig_update
21 use ppc-macos && darwintoolize
22 #fix warnings
23 sed -i "s:pow10:math_pow10:g" ${S}/pth_string.c
24 sed -i "s:round:math_round:g" ${S}/pth_string.c
20} 25}
21 26
22src_install() { 27src_install() {
23 einstall || die 28 einstall || die
24 dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS 29 dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20