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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20