summaryrefslogtreecommitdiff
blob: 05734256bf6a64f86c82083d6f51cba07420b41d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils
inherit subversion

DESCRIPTION="OpenCOLLADA is a stream based reader and writer library for COLLADA files"
HOMEPAGE="http://www.opencollada.org/"
LICENSE="MIT"

ESVN_REPO_URI="http://opencollada.googlecode.com/svn/trunk"
ESVN_PROJECT="opencollada-trunk"
ESVN_PATCHES="${FILESDIR}/opencollada-r736-expat-and-include-fixes.patch"

SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"

src_compile() {
	# call configure for bundled expat to generate a missing header file
	cd $S/Externals/expat
	sh configure
	
	cd $S
	scons RELEASE=1 XMLPARSER=expat PCRENATIVE=0 || die "emake failed"
}

#src_install() {
	#dodir /usr/include/opencollada/
	#dodir /usr/lib/opencollada/
#}