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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Oct 24 11:57:57 2009 UTC (4 years, 10 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +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-r1.ebuild,v 1.2 2009/09/30 17:38:24 armin76 Exp $
4
5 inherit eutils
6
7 DESCRIPTION="overall software library for managing 3D-Studio Release 3 and 4 .3DS files"
8 HOMEPAGE="http://lib3ds.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/lib3ds/${P}.tar.gz"
10
11 LICENSE="LGPL-2.1"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
14 IUSE=""
15
16 DEPEND="virtual/glut
17 virtual/opengl"
18
19 src_unpack() {
20 unpack ${A}
21 cd "${S}"
22 epatch "${FILESDIR}"/${P}-fix-aliasing.patch #172421
23 epatch "${FILESDIR}"/${P}-m4-underquoted.patch
24 # Add -fPIC only to the .so
25 sed -i -e "s/@CFLAGS@/@CFLAGS@ -fPIC/" lib3ds/Makefile.in || die "sed lib3ds/Makefile.in failed"
26 }
27
28 src_install() {
29 emake DESTDIR="${D}" install || die
30 dobin examples/3ds2rib || die
31 newbin examples/player 3dsplayer || die
32 dodoc README AUTHORS
33 }

  ViewVC Help
Powered by ViewVC 1.1.20