/[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.3 Revision 1.6
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.3 2008/01/08 01:21:34 bicatali Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild,v 1.6 2008/12/09 12:06:35 bicatali Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7DEB_PATCH="${PN}_${PV}-7" 7DEB_PATCH="${PN}_${PV}-7"
8DESCRIPTION="OpenGL interactive relativistic simulator" 8DESCRIPTION="OpenGL interactive relativistic simulator"
38 38
39src_compile() { 39src_compile() {
40 econf \ 40 econf \
41 --with-gtk=2 \ 41 --with-gtk=2 \
42 $(use_enable nls) \ 42 $(use_enable nls) \
43 $(use_with truetype ftgl) \ 43 $(use_with truetype ftgl)
44 || die "econf failed"
45 emake || die "emake failed" 44 emake || die "emake failed"
46 for i in ${LANGS}; do 45 for i in ${LANGS}; do
47 use linguas_${i} && emake ${i}.gmo 46 use linguas_${i} && emake ${i}.gmo
48 done 47 done
49} 48}
50 49
51src_install() { 50src_install() {
52 emake DESTDIR="${D}" install || die "emake install failed" 51 emake DESTDIR="${D}" install || die "emake install failed"
53 doicon src/icon.xpm 52 newicon src/icon.xpm lightspeed.xpm
54 make_desktop_entry lightspeed lightspeed \ 53 make_desktop_entry ${PN} "Light Speed! Relativistic Simulator"
55 lightspeed.xpm "Science;Physics;Education"
56 dodoc AUTHORS ChangeLog MATH NEWS README TODO || die 54 dodoc AUTHORS ChangeLog MATH NEWS README TODO || die
57 newdoc debian/changelog ChangeLog.Debian || die 55 newdoc debian/changelog ChangeLog.Debian || die
58 cd ${S2} 56 cd ${S2}
59 newdoc README objects-README || die 57 newdoc README objects-README || die
60 insinto /usr/share/${PN} 58 insinto /usr/share/${PN}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20