/[gentoo-x86]/x11-libs/gl2ps/gl2ps-1.3.3.ebuild
Gentoo

Contents of /x11-libs/gl2ps/gl2ps-1.3.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Feb 12 17:29:53 2011 UTC (3 years, 10 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Marked ~ppc wrt #327811. Drop old.

(Portage version: 2.1.9.25/cvs/Linux ppc64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gl2ps/gl2ps-1.3.3.ebuild,v 1.2 2010/09/16 17:33:01 scarabeus Exp $
4
5 EAPI=2
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="OpenGL to PostScript printing library"
9 HOMEPAGE="http://www.geuz.org/gl2ps/"
10 SRC_URI="http://geuz.org/${PN}/src/${P}.tgz"
11 LICENSE="LGPL-2"
12 SLOT="0"
13 IUSE="doc"
14 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
15
16 RDEPEND="media-libs/freeglut"
17 DEPEND="${RDEPEND}"
18
19 src_compile() {
20 $(tc-getCC) ${CFLAGS} -fPIC -c gl2ps.c -o gl2ps.o \
21 || die "compiling gl2ps failed"
22 $(tc-getCC) -shared ${LDFLAGS} -Wl,-soname,libgl2ps.so.1 \
23 gl2ps.o -o libgl2ps.so.1 -lm -lGL -lGLU -lglut \
24 || die "linking libgl2ps failed"
25 }
26
27 src_install () {
28 dolib.so libgl2ps.so.1 || die
29 dosym libgl2ps.so.1 /usr/$(get_libdir)/libgl2ps.so
30 insinto /usr/include
31 doins gl2ps.h || die
32 dodoc TODO
33 insinto /usr/share/doc/${PF}
34 if use doc; then
35 doins gl2psTest* *.pdf || die
36 fi
37 }

  ViewVC Help
Powered by ViewVC 1.1.20