/[gentoo-x86]/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild
Gentoo

Diff of /sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.14
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild,v 1.13 2011/09/14 18:51:32 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild,v 1.14 2012/02/16 23:52:46 bicatali Exp $
4 4
5EAPI=2 5EAPI=4
6 6
7inherit autotools eutils 7inherit autotools eutils
8 8
9DEB_PATCH="${PN}_${PV}-7" 9DEB_PATCH="${PN}_${PV}-7"
10DESCRIPTION="OpenGL interactive relativistic simulator" 10DESCRIPTION="OpenGL interactive relativistic simulator"
29 media-libs/tiff 29 media-libs/tiff
30 virtual/opengl 30 virtual/opengl
31 x11-libs/gtkglext 31 x11-libs/gtkglext
32 x11-libs/gtkglarea:2 32 x11-libs/gtkglarea:2
33 x11-libs/gtk+:2 33 x11-libs/gtk+:2
34 x11-libs/libXmu
34 truetype? ( media-libs/ftgl )" 35 truetype? ( media-libs/ftgl )"
35 36
36DEPEND="${RDEPEND} 37DEPEND="${RDEPEND}
37 dev-util/pkgconfig" 38 dev-util/pkgconfig"
38 39
52 $(use_enable nls) \ 53 $(use_enable nls) \
53 $(use_with truetype ftgl) 54 $(use_with truetype ftgl)
54} 55}
55 56
56src_compile() { 57src_compile() {
57 emake || die "emake failed" 58 emake
59 local i
58 for i in ${LANGS}; do 60 for i in ${LANGS}; do
59 use linguas_${i} && emake ${i}.gmo 61 use linguas_${i} && emake ${i}.gmo
60 done 62 done
61} 63}
62 64
63src_install() { 65src_install() {
64 emake DESTDIR="${D}" install || die "emake install failed" 66 default
65 newicon src/icon.xpm lightspeed.xpm 67 newicon src/icon.xpm lightspeed.xpm
66 make_desktop_entry ${PN} "Light Speed! Relativistic Simulator" 68 make_desktop_entry ${PN} "Light Speed! Relativistic Simulator"
67 dodoc AUTHORS ChangeLog MATH NEWS README TODO || die
68 newdoc debian/changelog ChangeLog.Debian || die 69 newdoc debian/changelog ChangeLog.Debian
69 cd ${S2} 70 cd ${S2}
70 newdoc README objects-README || die 71 newdoc README objects-README
71 insinto /usr/share/${PN} 72 insinto /usr/share/${PN}
72 doins *.3ds *.lwo || die 73 doins *.3ds *.lwo
73} 74}
74 75
75pkg_postinst() { 76pkg_postinst() {
76 elog 77 elog
77 elog "Some 3d models have been placed in /usr/share/${PN}" 78 elog "Some 3d models have been placed in /usr/share/${PN}"

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20