summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-08-22 07:45:53 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-08-22 07:45:53 +0000
commit5396cc50a31fe22cf2607e25cbc0d744cc099c8d (patch)
tree0e34d9b3f7258ec2388e117d0260ccc0c28a0ec4 /dev-libs/mps/mps-1.106.2.ebuild
parentppc stable (bug 410273). (diff)
downloadhistorical-5396cc50a31fe22cf2607e25cbc0d744cc099c8d.tar.gz
historical-5396cc50a31fe22cf2607e25cbc0d744cc099c8d.tar.bz2
historical-5396cc50a31fe22cf2607e25cbc0d744cc099c8d.zip
Initial import, ebuild by me. Dependency of Opendylan on x86
Package-Manager: portage-2.2.0_alpha121/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/mps/mps-1.106.2.ebuild')
-rw-r--r--dev-libs/mps/mps-1.106.2.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/mps/mps-1.106.2.ebuild b/dev-libs/mps/mps-1.106.2.ebuild
new file mode 100644
index 000000000000..fc917c6c2ffa
--- /dev/null
+++ b/dev-libs/mps/mps-1.106.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mps/mps-1.106.2.ebuild,v 1.1 2012/08/22 07:45:53 patrick Exp $
+EAPI=4
+
+DESCRIPTION="Ravenbrook Memory Pool System"
+
+MY_P="${PN}-kit-${PV}"
+HOMEPAGE="http://www.ravenbrook.com/project/mps/"
+SRC_URI="http://www.ravenbrook.com/project/${PN}/release/${PV}/${MY_P}.tar.gz"
+LICENSE="Ravenbrook"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}/code
+
+src_prepare() {
+ # need to fix CFLAGS, it's still being silly
+ sed -i -e 's/-Werror//' gc.gmk
+}
+
+src_compile() {
+ emake -f lii4gc.gmk
+ emake -f lii4gc.gmk mpsplan.a
+ emake -f lii4gc.gmk mmdw.a
+}
+
+src_install() {
+ mkdir -p ${D}/usr/include/mps
+ cp ${S}/*.h ${D}/usr/include/mps
+ dolib.a ${S}/lii4gc/ci/*.a
+}