/[gentoo-x86]/dev-libs/libtompoly/libtompoly-0.04.ebuild
Gentoo

Contents of /dev-libs/libtompoly/libtompoly-0.04.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Jun 3 02:29:02 2012 UTC (6 years, 5 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +12 -6 lines
Update to EAPI=4, respect ar 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/libtompoly/libtompoly-0.04.ebuild,v 1.8 2011/06/10 01:09:34 radhermit Exp $
4
5 EAPI="4"
6
7 inherit toolchain-funcs multilib
8
9 DESCRIPTION="portable ISO C library for polynomial basis arithmetic"
10 HOMEPAGE="http://poly.libtomcrypt.org/"
11 SRC_URI="http://poly.libtomcrypt.org/files/ltp-${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 "/^LIBPATH/s:/lib:/$(get_libdir):" \
25 makefile || die
26 tc-export AR CC
27 }
28
29 src_install() {
30 default
31 dodoc changes.txt *.pdf
32 docinto demo ; dodoc demo/*
33 }

  ViewVC Help
Powered by ViewVC 1.1.20