Skip to content

Commit

Permalink
added sci-libs/cml-1.0.3.ebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
PaddyMac committed Jan 18, 2013
1 parent 7b284fd commit 76ff960
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions cml/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST cml-1_0_3.zip 183009 SHA256 6821927ec17bca1c178f4a196fc48bc94f25cfc680f0b46d0a638dab5c8cac4b SHA512 0deed36d8c271e400a4100a131f348e18c2e32f76bae11e61713279bc8079e8bb1cc02d6bf3e8b81ffc9a4480fa10ee09fa978dc540cfda7d7e2c4d3095a64ad WHIRLPOOL b2852700f248abbd4dce482f4f3be3edbedc681b3b8d82be274bec8a97b4b07568a0fdde040c18b8588b38b4cf57e966ed3fe04e037bc87fe361eaf7638ea56e
31 changes: 31 additions & 0 deletions cml/cml-1.0.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=4

inherit versionator

MY_PV="$(replace_all_version_separators _ )"

DESCRIPTION="Configurable Math Library is a free, open-source C++ vector, matrix, and quaternion math library designed for use in games, graphics, computational geometry, and related applications."
HOMEPAGE="www.cmldev.net"
SRC_URI="mirror://sourceforge/cmldev/CML%201.0/${PN}-${MY_PV}.zip"

LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"

DEPEND=""
RDEPEND="${DEPEND}"

S=${WORKDIR}/${PN}-${MY_PV}

src_install() {
insinto ${EPREFIX}/usr/include
doins -r cml
dodoc doc/*
if use examples; then
insinto ${EPREFIX}/usr/local/src/${PN}
doins examples/*
fi
}

0 comments on commit 76ff960

Please sign in to comment.