blob: d73bf44b4d6f19aea22565b13b3b88a4b8781f18 (
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
|
# Copyright 1999-2003 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.4 2003/09/21 12:41:02 aliz Exp $
DESCRIPTION="TiLP is a linking program for Texas Instruments' graphing calculators."
HOMEPAGE="http://tilp.sourceforge.net/"
SRC_URI="mirror://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
}
|