-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |