diff options
Diffstat (limited to 'dev-lang/angelscript/angelscript-2.7.1b.ebuild')
-rw-r--r-- | dev-lang/angelscript/angelscript-2.7.1b.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-lang/angelscript/angelscript-2.7.1b.ebuild b/dev-lang/angelscript/angelscript-2.7.1b.ebuild new file mode 100644 index 0000000..ebd4fae --- /dev/null +++ b/dev-lang/angelscript/angelscript-2.7.1b.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs + +DESCRIPTION="A flexible, cross-platform scripting library" +HOMEPAGE="http://www.angelcode.com/${PN}/" +SRC_URI="http://www.angelcode.com/${PN}/sdk/files/${PN}_${PV}.zip" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/sdk/${PN}/projects/gnuc" + +src_compile() { + emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" || die +} + +src_install() { + dodir /usr/lib /usr/include + emake LOCAL="${D}/usr" install || die + + if use doc; then + dohtml -r ../../../docs || die + fi +} |