From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-libs/gl2ps: metadata.xml ChangeLog gl2ps-1.3.3.ebuild |
Date: | Tue, 07 Apr 2009 18:41:52 |
Message-Id: | E1LrGF4-0006Ng-Mu@stork.gentoo.org |
1 | bicatali 09/04/07 18:41:50 |
2 | |
3 | Added: metadata.xml ChangeLog gl2ps-1.3.3.ebuild |
4 | Log: |
5 | Initial import |
6 | (Portage version: 2.2_rc28/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 x11-libs/gl2ps/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gl2ps/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gl2ps/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>sci</herd> |
20 | <longdescription lang="en"> |
21 | GL2PS is a C library providing high quality vector output for any |
22 | OpenGL application. The main difference between GL2PS and other |
23 | similar libraries is the use of sorting algorithms |
24 | capable of handling intersecting and stretched polygons, as well as |
25 | non manifold objects. GL2PS provides advanced smooth shading and |
26 | text rendering, culling of invisible primitives, mixed vector/bitmap |
27 | output, and much more. |
28 | </longdescription> |
29 | </pkgmetadata> |
30 | |
31 | |
32 | |
33 | 1.1 x11-libs/gl2ps/ChangeLog |
34 | |
35 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gl2ps/ChangeLog?rev=1.1&view=markup |
36 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gl2ps/ChangeLog?rev=1.1&content-type=text/plain |
37 | |
38 | Index: ChangeLog |
39 | =================================================================== |
40 | # ChangeLog for x11-libs/gl2ps |
41 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
42 | # $Header: /var/cvsroot/gentoo-x86/x11-libs/gl2ps/ChangeLog,v 1.1 2009/04/07 18:41:50 bicatali Exp $ |
43 | |
44 | *gl2ps-1.3.3 (07 Apr 2009) |
45 | |
46 | 07 Apr 2009; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
47 | +gl2ps-1.3.3.ebuild: |
48 | Initial import |
49 | |
50 | |
51 | |
52 | |
53 | 1.1 x11-libs/gl2ps/gl2ps-1.3.3.ebuild |
54 | |
55 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gl2ps/gl2ps-1.3.3.ebuild?rev=1.1&view=markup |
56 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gl2ps/gl2ps-1.3.3.ebuild?rev=1.1&content-type=text/plain |
57 | |
58 | Index: gl2ps-1.3.3.ebuild |
59 | =================================================================== |
60 | # Copyright 1999-2009 Gentoo Foundation |
61 | # Distributed under the terms of the GNU General Public License v2 |
62 | # $Header: /var/cvsroot/gentoo-x86/x11-libs/gl2ps/gl2ps-1.3.3.ebuild,v 1.1 2009/04/07 18:41:50 bicatali Exp $ |
63 | |
64 | EAPI=2 |
65 | inherit eutils toolchain-funcs |
66 | |
67 | DESCRIPTION="OpenGL to PostScript printing library" |
68 | HOMEPAGE="http://www.geuz.org/gl2ps/" |
69 | SRC_URI="http://geuz.org/${PN}/src/${P}.tgz" |
70 | LICENSE="LGPL-2" |
71 | SLOT="0" |
72 | IUSE="doc" |
73 | KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
74 | |
75 | RDEPEND="virtual/glut" |
76 | DEPEND="${RDEPEND}" |
77 | |
78 | src_compile() { |
79 | $(tc-getCC) ${CFLAGS} -fPIC -c gl2ps.c -o gl2ps.o \ |
80 | || die "compiling gl2ps failed" |
81 | $(tc-getCC) -shared ${LDFLAGS} -Wl,-soname,libgl2ps.so.1 \ |
82 | gl2ps.o -o libgl2ps.so.1 -lm -lGL -lGLU -lglut \ |
83 | || die "linking libgl2ps failed" |
84 | } |
85 | |
86 | src_install () { |
87 | dolib.so libgl2ps.so.1 || die |
88 | dosym libgl2ps.so.1 /usr/$(get_libdir)/libgl2ps.so |
89 | insinto /usr/include |
90 | doins gl2ps.h || die |
91 | dodoc TODO |
92 | insinto /usr/share/doc/${PF} |
93 | if use doc; then |
94 | doins gl2psTest* *.pdf || die |
95 | fi |
96 | } |