/[gentoo-x86]/dev-lang/tendra/tendra-4.1.2.ebuild
Gentoo

Contents of /dev-lang/tendra/tendra-4.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jan 16 10:43:30 2010 UTC (4 years, 5 months ago) by truedfx
Branch: MAIN
Changes since 1.2: +4 -8 lines
revert accidental commit

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/tendra/tendra-4.1.2.ebuild,v 1.1 2006/08/26 18:21:07 truedfx Exp $
4
5 inherit eutils flag-o-matic toolchain-funcs
6
7 DESCRIPTION="A C/C++ compiler initially developed by DERA"
8 HOMEPAGE="http://www.tendra.org/
9 http://www.ten15.org/"
10 SRC_URI="ftp://ftp.allbsd.org/pub/TenDRA/releases/tendra/TenDRA-${PV}.tar.bz2
11 mirror://gentoo/${P}-misc.patch.bz2
12 mirror://gentoo/${P}-minix.patch.bz2
13 http://dev.gentoo.org/~truedfx/${P}-misc.patch.bz2
14 http://dev.gentoo.org/~truedfx/${P}-minix.patch.bz2"
15
16 LICENSE="as-is"
17 SLOT="0"
18 KEYWORDS="-* ~x86"
19 IUSE=""
20
21 DEPEND=""
22 # Both tendra and tinycc install /usr/bin/tcc
23 RDEPEND="!dev-lang/tcc"
24
25 S=${WORKDIR}/TenDRA-${PV}
26
27 src_unpack() {
28 unpack TenDRA-${PV}.tar.bz2
29 cd "${S}"
30 epatch "${DISTDIR}"/${P}-misc.patch.bz2
31 epatch "${DISTDIR}"/${P}-minix.patch.bz2
32 }
33
34 src_compile() {
35 tc-export CC
36 append-flags -D_XOPEN_SOURCE=500
37
38 mkdir -p build/bin build/lib/TenDRA build/share/man
39
40 PREFIX=${S}/build CCOPTS=${CFLAGS} \
41 sh INSTALL || die "compilation failed"
42 }
43
44 src_install() {
45 cp -R build "${D}"/usr || die "copying failed"
46
47 DESTDIR=${D} PREFIX=/usr BUILD_COMMON=false BUILD_MACHINE=false \
48 sh INSTALL || die "updating failed"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20