blob: d51af8cbf6034c6cb0d876ec8c240e82cf7f2ede (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/tilp/tilp-6.09.ebuild,v 1.1 2003/07/20 05:36:11 rphillips Exp $
DESCRIPTION="TiLP is a linking program for Texas Instruments' graphing calculators."
HOMEPAGE="http://tilp.sourceforge.net/"
# Should figure out a way to allow downloads from different server, rather than
# forcing it to come from Time-Warner
SRC_URI="http://twtelecom.dl.sourceforge.net/sourceforge/tilp/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
# Only tested on x86 so far...
KEYWORDS="~x86"
IUSE=""
DEPEND="dev-libs/libticables
dev-libs/libticalcs
dev-libs/libtifiles
=x11-libs/gtk+-1.2*"
src_compile() {
# Note the special option --with-fontpath-prefix below.
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-fontpath-prefix=${D}/usr/X11R6/lib/X11/fonts \
--enable-exit-homedir || die "./configure failed"
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README* RELEASE THANKS TODO
}
pkg_postinst() {
# TiLP installs a font into /usr/X11R6/lib/X11/fonts/misc, so I'm running
# mkfontdir here to update the system
mkfontdir -- /usr/X11R6/lib/X11/fonts/misc
}
|