summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-games/wfmath
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-games/wfmath')
-rw-r--r--dev-games/wfmath/Manifest1
-rw-r--r--dev-games/wfmath/metadata.xml17
-rw-r--r--dev-games/wfmath/wfmath-1.0.1.ebuild40
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-games/wfmath/Manifest b/dev-games/wfmath/Manifest
new file mode 100644
index 000000000000..f864c99531bd
--- /dev/null
+++ b/dev-games/wfmath/Manifest
@@ -0,0 +1 @@
+DIST wfmath-1.0.1.tar.bz2 389227 SHA256 1503f0efaf9b27bf96547888062492c2412aebc32a0e407d58d50b84e3e2a506 SHA512 4017a572f946182c7aed4ffb8dfe139f85f5bb946a42bd593579030ee9f5617a07859f62b1169322d613919b37a0ff39079aa989f960d22b6cedfb9c3e7701bc WHIRLPOOL 3c3c78bed0d8d5c70cf4343b54e292bf92856b6629924f75c6c3fc769ae60d816f793c9cbe1fb3161491a90b06d52b1da58557c9ac99a9394fa61baef1946dcc
diff --git a/dev-games/wfmath/metadata.xml b/dev-games/wfmath/metadata.xml
new file mode 100644
index 000000000000..9e1c2a2c218e
--- /dev/null
+++ b/dev-games/wfmath/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <longdescription lang="en">
+The primary focus of WFMath is geometric objects. Thus, it includes several
+shapes (boxes, balls, lines), in addition to the basic math objects that are
+used to build these shapes (points, vectors, matricies).
+Most of the library classes can be divided into two sorts. The first kind are
+basic mathematical objects, whose members are all fundamental types. The second
+kind are shapes, which implement the shape class interface described in
+doc/shape.h.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">worldforge</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-games/wfmath/wfmath-1.0.1.ebuild b/dev-games/wfmath/wfmath-1.0.1.ebuild
new file mode 100644
index 000000000000..10ad211a472d
--- /dev/null
+++ b/dev-games/wfmath/wfmath-1.0.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+DESCRIPTION="Worldforge math library"
+HOMEPAGE="http://www.worldforge.org/dev/eng/libraries/wfmath"
+SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc static-libs"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake
+ if use doc; then
+ emake -C doc docs
+ fi
+}
+
+src_install() {
+ default
+ if use doc; then
+ dohtml doc/html/*
+ fi
+ if ! use static-libs ; then
+ find "${D}" -type f -name '*.la' -exec rm {} + \
+ || die "la removal failed"
+ fi
+}