/[gentoo-x86]/dev-libs/libtomfloat/libtomfloat-0.02.ebuild
Gentoo

Contents of /dev-libs/libtomfloat/libtomfloat-0.02.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Jun 3 02:31:47 2012 UTC (7 years, 7 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +14 -7 lines
Update to EAPI=4, respect ar/ranlib settings, and multilib paths.

(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomfloat/libtomfloat-0.02.ebuild,v 1.8 2011/06/10 01:08:00 radhermit Exp $
4
5 EAPI="4"
6
7 inherit toolchain-funcs multilib
8
9 DESCRIPTION="library for floating point number manipulation"
10 HOMEPAGE="http://libtom.org/"
11 SRC_URI="http://libtom.org/files/ltf-${PV}.tar.bz2"
12
13 LICENSE="WTFPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE=""
17
18 DEPEND="dev-libs/libtommath"
19 RDEPEND="${DEPEND}"
20
21 src_prepare() {
22 sed -i \
23 -e 's:\<ar\>:$(AR):' \
24 -e 's:\<ranlib\>:$(RANLIB):' \
25 -e "/^LIBPATH/s:/lib:/$(get_libdir):" \
26 makefile || die
27 tc-export AR CC RANLIB
28 }
29
30 src_install() {
31 default
32 dodoc changes.txt *.pdf WARNING
33 docinto demos ; dodoc demos/*
34 }

  ViewVC Help
Powered by ViewVC 1.1.20