/[gentoo-x86]/media-libs/lib3ds/lib3ds-1.2.0.ebuild
Gentoo

Contents of /media-libs/lib3ds/lib3ds-1.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sat Oct 24 11:57:57 2009 UTC (4 years, 11 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc46/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/lib3ds/lib3ds-1.2.0.ebuild,v 1.12 2009/09/30 17:38:24 armin76 Exp $
4
5 DESCRIPTION="overall software library for managing 3D-Studio Release 3 and 4 .3DS files"
6 HOMEPAGE="http://lib3ds.sourceforge.net/"
7 SRC_URI="mirror://sourceforge/lib3ds/${P}.tar.gz"
8
9 LICENSE="LGPL-2.1"
10 SLOT="0"
11 KEYWORDS="~amd64 ppc ~sparc x86"
12 IUSE=""
13
14 DEPEND="virtual/glut
15 virtual/opengl"
16
17 src_unpack() {
18 unpack ${A}
19 cd "${S}"
20 # Add -fPIC only to the .so
21 sed -i -e "s/@CFLAGS@/@CFLAGS@ -fPIC/" lib3ds/Makefile.in || die "sed lib3ds/Makefile.in failed"
22 }
23
24 src_compile() {
25 econf || die
26 emake || die
27 }
28
29 src_install() {
30 make DESTDIR=${D} install || die
31 dobin examples/3ds2rib || die
32 newbin examples/player 3dsplayer || die
33 dodoc README AUTHORS
34 }

  ViewVC Help
Powered by ViewVC 1.1.20