summaryrefslogtreecommitdiff
blob: 3fe37fb7b7ab7ca2915c675211ca913c1d6a1648 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/tex-guy/tex-guy-1.3.0.ebuild,v 1.2 2005/01/01 16:38:09 eradicator Exp $

inherit libtool

MY_P="TeX-Guy-${PV}"
DESCRIPTION="Miscellaneous utilities using DVIlib"
HOMEPAGE="http://typehack.aial.hiroshima-u.ac.jp/TeX-Guy/"
SRC_URI="ftp://ftp.se.hiroshima-u.ac.jp/pub/TypeHack/${MY_P}.tar.gz"

KEYWORDS="~x86"
SLOT="0"
LICENSE="LGPL-2.1"
IUSE=""

DEPEND=">=media-libs/vflib-3.6
	=x11-libs/gtk+-1.2*"

S=${WORKDIR}/${MY_P}

src_unpack() {
	unpack ${A}

	cd ${S}
	elibtoolize
}

src_compile() {
	econf || die "econf failed"
	emake -j1 CDEBUGFLAGS="${CFLAGS}" \
		CXXDEBUGFLAGS="${CXXFLAGS}" || die
}

src_install() {
	einstall localedir=${D}/usr/share/locale || die "install failed"

	dodoc 00_* CHANGES
}