blob: 7ecea16ee6f27d04683b8c738cf0849f06315237 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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.3 2012/08/22 16:01:28 mr_bones_ 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"
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
}
|