/[gentoo-x86]/media-gfx/viewer/viewer-0.8.0.ebuild
Gentoo

Contents of /media-gfx/viewer/viewer-0.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Mar 17 11:07:42 2012 UTC (8 years, 3 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +8 -3 lines
Add missing deps, bug #408295 by Piotr Szymaniak.

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/viewer/viewer-0.8.0.ebuild,v 1.4 2010/09/16 17:11:04 scarabeus Exp $
4
5 EAPI="2"
6
7 inherit autotools multilib
8
9 DESCRIPTION="A stereo pair image viewer (supports ppm's only)"
10 HOMEPAGE="http://www-users.cs.umn.edu/~wburdick/geowall/viewer.html"
11 SRC_URI="ftp://ftp.cs.umn.edu/dept/users/wburdick/geowall/${P}.tar.gz"
12 SRC_URI="http://www-users.cs.umn.edu/~wburdick/ftp/geowall/${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16
17 KEYWORDS="~amd64 ~ppc ~x86"
18 IUSE=""
19 DEPEND="virtual/opengl
20 media-libs/freeglut
21 x11-libs/libXmu
22 x11-libs/libXt
23 x11-libs/libICE
24 x11-libs/libSM"
25 RDEPEND="${DEPEND}"
26
27 src_prepare() {
28 sed -i configure.in \
29 -e "s|/usr/X11R6/lib|/usr/$(get_libdir)/X11|g" \
30 -e 's|/usr/X11R6/include|/usr/include/X11|g'
31 eautoreconf
32 }
33
34 src_compile() {
35 emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" || die "emake failed"
36 }
37
38 src_install() {
39 dobin viewer
40 doman viewer.1
41
42 dodoc AUTHORS ChangeLog README
43 }

  ViewVC Help
Powered by ViewVC 1.1.20