/[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.1.1.1 Revision 1.3
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2002 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License, v2 or later
3# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/Attic/pth-1.4.0.ebuild,v 1.1.1.1 2005/11/30 09:41:57 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/Attic/pth-1.4.0.ebuild,v 1.3 2002/08/01 11:59:01 seemant Exp $
4 4
5inherit gnuconfig libtool 5S=${WORKDIR}/${P}
6DESCRIPTION="GNU Portable Threads"
7SRC_URI="ftp://ftp.gnu.org/gnu/pth/pth-1.4.0.tar.gz"
8HOMEPAGE="http://www.gnu.org/software/pth/"
6 9
7DESCRIPTION="GNU Portable Threads" 10DEPEND="virtual/glibc"
8HOMEPAGE="http://www.gnu.org/software/pth/"
9SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
10 11
11LICENSE="LGPL-2.1" 12src_compile() {
12SLOT="0" 13 ./configure --prefix=/usr \
13KEYWORDS="alpha amd64 arm hppa ppc ppc-macos ppc64 s390 sparc x86" 14 --sysconfdir=/etc \
14IUSE="" 15 --mandir=/usr/share/man \
16 --infodir=/usr/share/info
17 assert
15 18
16DEPEND="virtual/libc" 19 emake || die
17
18src_unpack() {
19 unpack ${A}
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
25} 20}
26 21
27src_install() { 22src_install() {
23 make prefix=${D}/usr \
24 sysconfdir=${D}/etc \
25 mandir=${D}/usr/share/man \
26 infodir=${D}/usr/share/info \
28 einstall || die 27 install || die
28
29 dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS 29 dodoc ANNOUNCE AUTHORS COPYING ChangeLog NEWS README THANKS USERS
30} 30}
31
32
33
34
35
36
37

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20