/[gentoo-x86]/dev-embedded/tigcc/tigcc-0.95_p3.ebuild
Gentoo

Diff of /dev-embedded/tigcc/tigcc-0.95_p3.ebuild

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

Revision 1.1.1.1 Revision 1.8
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2012 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/dev-embedded/tigcc/Attic/tigcc-0.95_p3.ebuild,v 1.1.1.1 2005/11/30 09:53:26 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-embedded/tigcc/Attic/tigcc-0.95_p3.ebuild,v 1.8 2012/04/30 02:53:44 vapier Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7BASE_GCC="3.3.3" 7BASE_GCC="3.3.3"
8BASE_BINUTILS="2.14" 8BASE_BINUTILS="2.14"
10BIN_VER=${BASE_BINUTILS:0:4} 10BIN_VER=${BASE_BINUTILS:0:4}
11S=${WORKDIR} 11S=${WORKDIR}
12DESCRIPTION="Cross compiler for Texas Instruments TI-89, TI-92(+) and V200 calculators" 12DESCRIPTION="Cross compiler for Texas Instruments TI-89, TI-92(+) and V200 calculators"
13HOMEPAGE="http://tigcc.ticalc.org" 13HOMEPAGE="http://tigcc.ticalc.org"
14 14
15
16# mirror://gentoo/${P}.tar.bz2 comes from http://tigcc.ticalc.org/linux/tigcc_src.tar.bz2 15# mirror://gentoo/${P}.tar.bz2 comes from http://tigcc.ticalc.org/linux/tigcc_src.tar.bz2
17# which isn't that reliable 16# which isn't that reliable
18 17
19#All kernel mirrors in gentoo didn't have 2.14 18#All kernel mirrors in gentoo didn't have 2.14
20# mirror://kernel/linux/devel/binutils/binutils-${BASE_BINUTILS}.tar.bz2 19# mirror://kernel/linux/devel/binutils/binutils-${BASE_BINUTILS}.tar.bz2
26 http://members.chello.at/gerhard.kofler/kevin/ti89prog/flashosa.zip" 25 http://members.chello.at/gerhard.kofler/kevin/ti89prog/flashosa.zip"
27 26
28LICENSE="GPL-2" 27LICENSE="GPL-2"
29 28
30SLOT="0" 29SLOT="0"
31KEYWORDS="~x86 ~amd64 ~ppc" 30KEYWORDS="~amd64 ~ppc ~x86"
32#KEYWORDS="~x86 ~ppc ~sparc ~amd64"
33IUSE="" 31IUSE=""
34 32
35RDEPEND="virtual/libc
36 >=sys-devel/binutils-2.14.90.0.6-r1 33RDEPEND=">=sys-devel/binutils-2.14.90.0.6-r1"
37 >=sys-devel/bison-1.875"
38DEPEND="${RDEPEND} 34DEPEND="${RDEPEND}
39 app-arch/unzip" 35 app-arch/unzip
36 >=sys-devel/bison-1.875"
40 37
41src_unpack() { 38src_unpack() {
42 unpack ${A} 39 unpack ${A}
43 # start by patching binutils and gcc 40 # start by patching binutils and gcc
44 cd ${WORKDIR}/binutils-${BASE_BINUTILS} 41 cd ${WORKDIR}/binutils-${BASE_BINUTILS}
228 dosym /usr/include/tigcc /usr/ti-linux-gnu/include 225 dosym /usr/include/tigcc /usr/ti-linux-gnu/include
229 dosym /usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER} /usr/ti-linux-gnu/lib 226 dosym /usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER} /usr/ti-linux-gnu/lib
230 dosym /usr/share/doc/${PF} /usr/ti-linux-gnu/doc 227 dosym /usr/share/doc/${PF} /usr/ti-linux-gnu/doc
231 dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER} /usr/ti-linux-gnu/bin 228 dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER} /usr/ti-linux-gnu/bin
232} 229}
233
234pkg-postinst() {
235 env-update && source /etc/profile
236}

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20