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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.23 - (show annotations) (download)
Fri Mar 25 14:31:43 2005 UTC (15 years, 2 months ago) by vanquirius
Branch: MAIN
Changes since 1.22: +4 -1 lines
fix compile warnings
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-1.4.0.ebuild,v 1.22 2005/01/22 09:41:13 swtaylor Exp $
4
5 inherit gnuconfig 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="x86 ppc sparc alpha amd64 hppa ppc-macos ppc64"
14 IUSE=""
15
16 DEPEND="virtual/libc"
17
18 src_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 }
26
27 src_install() {
28 einstall || die
29 dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS
30 }

  ViewVC Help
Powered by ViewVC 1.1.20