/[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.4 Revision 1.5
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.4 2008/02/29 03:28:22 ranger Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/calc/calc-2.12.2.2.ebuild,v 1.5 2008/06/02 22:39:34 coldwind Exp $
4 4
5inherit eutils multilib 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
11SLOT="0" 11SLOT="0"
12LICENSE="LGPL-2" 12LICENSE="LGPL-2"
13KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" 13KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~x86"
14 14
15IUSE="" 15IUSE=""
16 16
17DEPEND=">=sys-libs/ncurses-5.2 17DEPEND=">=sys-libs/ncurses-5.2
18 >=sys-libs/readline-4.2" 18 >=sys-libs/readline-4.2"
19 19
20RDEPEND="${DEPEND} 20RDEPEND="${DEPEND}
21 >=sys-apps/less-348" 21 >=sys-apps/less-348"
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 27
28 sed -e "s:LIBDIR= /usr/lib:LIBDIR= /usr/$(get_libdir):" \ 28 sed -e "s:LIBDIR= /usr/lib:LIBDIR= /usr/$(get_libdir):" \
29 -i Makefile || die "Failed to fix multilib in makefile" 29 -i Makefile || die "Failed to fix multilib in makefile"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20