aboutsummaryrefslogtreecommitdiff
blob: 61068e4d518b72710c80826586109d515c9b6889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit eutils

DESCRIPTION="TIGR Foundation for C++"
HOMEPAGE="http://sourceforge.net/apps/mediawiki/amos/index.php?title=AutoEditor"
SRC_URI="ftp://ftp.cbcb.umd.edu/pub/software/autoEditor/autoEditor-1.20.tar.gz"

# the one bundled in autoEditor-1.20/TigrFoundation-2.0/ is same with the one in bambus
# but in bambus-2.33/src/TIGR_Foundation_CC/ there are 3 getopt.* files in addition

LICENSE="Artistic"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S="${WORKDIR}"/autoEditor-1.20/TigrFoundation-2.0

src_prepare(){
	epatch "${FILESDIR}"/TigrFoundation-all-patches.patch || die "Failed to patch TigrFoundation-2.0/ sources"
	sed -i "s:/export/usr/local:${D}/usr:g" Makefile || die
}

src_install(){
	emake install DESTDIR="${D}/usr" || die
}