summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/gaffitter/gaffitter-0.6.0.ebuild')
-rw-r--r--app-cdr/gaffitter/gaffitter-0.6.0.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/app-cdr/gaffitter/gaffitter-0.6.0.ebuild b/app-cdr/gaffitter/gaffitter-0.6.0.ebuild
new file mode 100644
index 000000000000..f822c8349328
--- /dev/null
+++ b/app-cdr/gaffitter/gaffitter-0.6.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/gaffitter/gaffitter-0.6.0.ebuild,v 1.1 2010/06/04 21:16:49 hwoarang Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Genetic Algorithm File Fitter"
+HOMEPAGE="http://gaffitter.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_prepare() {
+ sed -i -e "/^INCLUDES\ =.*/d" \
+ -e "s/^CXXFLAGS\ =.*/CXXFLAGS\ =\ ${CXXFLAGS}/" \
+ -e "s/^CXX\ =.*/CXX\ =\ $(tc-getCXX)/" src/Makefile || die "sed failed"
+}
+
+src_install() {
+ dobin src/gaffitter || die "dobin failed"
+ dodoc AUTHORS README || die "dodoc failed"
+}