/[gentoo-x86]/sci-mathematics/calc/calc-2.12.2.2.ebuild
Gentoo

Diff of /sci-mathematics/calc/calc-2.12.2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/calc/calc-2.12.2.2.ebuild,v 1.1 2007/10/24 12:50:28 markusle Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/calc/calc-2.12.2.2.ebuild,v 1.2 2007/10/26 12:59:34 markusle Exp $
4 4
5inherit eutils 5inherit eutils multilib
6 6
7DESCRIPTION="An arbitrary precision C-like arithmetic system" 7DESCRIPTION="An arbitrary precision C-like arithmetic system"
8HOMEPAGE="http://www.isthe.com/chongo/tech/comp/calc/" 8HOMEPAGE="http://www.isthe.com/chongo/tech/comp/calc/"
9SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" 9SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
10 10
22 22
23src_unpack() { 23src_unpack() {
24 unpack "${A}" 24 unpack "${A}"
25 cd "${S}" 25 cd "${S}"
26 epatch "${FILESDIR}"/${P}-libdir-fix.patch 26 epatch "${FILESDIR}"/${P}-libdir-fix.patch
27
28 sed -e "s:LIBDIR= /usr/lib:LIBDIR= /usr/$(get_libdir):" \
29 -i Makefile || die "Failed to fix multilib in makefile"
27} 30}
28 31
29src_compile() { 32src_compile() {
30 make \ 33 make \
31 T="${D}" \ 34 T="${D}" \

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

  ViewVC Help
Powered by ViewVC 1.1.20