/[gentoo-x86]/dev-tex/sketch/sketch-0.3.2.ebuild
Gentoo

Contents of /dev-tex/sketch/sketch-0.3.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Apr 18 20:12:31 2011 UTC (3 years, 2 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
version bump

(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-tex/sketch/sketch-0.2.187.ebuild,v 1.1 2010/12/25 21:20:22 aballier Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="Produces drawings of two- or three-dimensional solid objects and scenes for TeX"
8 HOMEPAGE="http://www.frontiernet.net/~eugene.ressler/"
9 SRC_URI="http://www.frontiernet.net/~eugene.ressler/${P}.tgz"
10 LICENSE="GPL-3"
11
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc64 ~x86"
14 IUSE="doc examples"
15
16 DEPEND="dev-lang/perl"
17 RDEPEND=""
18
19 src_unpack() {
20 unpack ${A}
21
22 cd "${S}"
23 sed -i -e "s:\$(CC):\$(CC) \$(LDFLAGS):" makefile
24 }
25
26 src_compile() {
27 emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "emake failed"
28 }
29
30 src_install() {
31 dobin sketch || die
32 edos2unix Doc/sketch.info
33 doinfo Doc/sketch.info || die
34 dohtml updates.htm || die
35 if use doc ; then
36 insinto /usr/share/doc/${PF}
37 doins Doc/sketch.pdf || die
38 dohtml Doc/sketch/* || die
39 fi
40 if use examples ; then
41 insinto /usr/share/doc/${PF}/examples
42 doins Data/* || die "Failed to install examples"
43 fi
44 }

  ViewVC Help
Powered by ViewVC 1.1.20