summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2011-04-10 08:03:44 +0000
committerSteve Arnold <nerdboy@gentoo.org>2011-04-10 08:03:44 +0000
commit0671c2a4d53fe1be346fa5fd7cf158e37eccb3f2 (patch)
treeddeb449e74a873e4bb77c7af3ffc9e3feec07126 /sci-mathematics
parentChange herd from nonexisting commonbox to desktop-wm (diff)
downloadgentoo-2-0671c2a4d53fe1be346fa5fd7cf158e37eccb3f2.tar.gz
gentoo-2-0671c2a4d53fe1be346fa5fd7cf158e37eccb3f2.tar.bz2
gentoo-2-0671c2a4d53fe1be346fa5fd7cf158e37eccb3f2.zip
Updated include files to proper directory structure.
(Portage version: 2.1.9.45/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/minisat/ChangeLog6
-rw-r--r--sci-mathematics/minisat/minisat-2.2.0-r1.ebuild14
2 files changed, 14 insertions, 6 deletions
diff --git a/sci-mathematics/minisat/ChangeLog b/sci-mathematics/minisat/ChangeLog
index 78c16982a024..e1d1efee193a 100644
--- a/sci-mathematics/minisat/ChangeLog
+++ b/sci-mathematics/minisat/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/minisat
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/minisat/ChangeLog,v 1.2 2011/04/09 22:31:01 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/minisat/ChangeLog,v 1.3 2011/04/10 08:03:44 nerdboy Exp $
+
+ 09 Apr 2011; Steve Arnold <nerdboy@gentoo.org> minisat-2.2.0-r1.ebuild:
+ Updated include files to proper directory structure (which other
+ packages seem to assume).
*minisat-2.2.0-r1 (09 Apr 2011)
diff --git a/sci-mathematics/minisat/minisat-2.2.0-r1.ebuild b/sci-mathematics/minisat/minisat-2.2.0-r1.ebuild
index 00e4aa5d8c46..d8d1bf86c829 100644
--- a/sci-mathematics/minisat/minisat-2.2.0-r1.ebuild
+++ b/sci-mathematics/minisat/minisat-2.2.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/minisat/minisat-2.2.0-r1.ebuild,v 1.1 2011/04/09 22:31:01 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/minisat/minisat-2.2.0-r1.ebuild,v 1.2 2011/04/10 08:03:44 nerdboy Exp $
EAPI="4"
@@ -50,14 +50,17 @@ src_compile() {
}
src_install() {
- insinto /usr/include
+ # somewhat brute-force, but so is the build setup...
+ insinto /usr/include/minisat2
doins -r mtl
- doins utils/Options.h utils/System.h core/Solver.h core/SolverTypes.h
+ rm -f ${ED}/usr/include/minisat2/mtl/config.mk
+ doins core/Solver.h simp/SimpSolver.h
+
+ insinto /usr/include/minisat2/core && doins core/SolverTypes.h
+ insinto /usr/include/minisat2/utils && doins utils/*.h
- # somewhat brute-force, but so is the build setup...
if use extended-solver; then
cd simp
- doins SimpSolver.h
else
cd core
fi
@@ -75,6 +78,7 @@ src_install() {
cd "${S}"
dodoc README doc/ReleaseNotes-2.2.0.txt
+
if use doc; then
insinto /usr/share/doc/${PF}
doins "${DISTDIR}"/MiniSat.pdf