blob: 64b11d6550f80321785b7df3db390ebec7d266f4 (
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
38
39
40
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
inherit bzr
DESCRIPTION="A next generation display server"
HOMEPAGE="https://wiki.ubuntu.com/MirSpec"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
EBZR_REPO_URI="lp:mir"
IUSE=""
S=${WORKDIR}/${P}
BUILD_DIR=${S}/build
src_prepare() {
epatch "${FILESDIR}/use_default_gcc.patch"
mkdir ${BUILD_DIR}
cd ${BUILD_DIR}
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
}
src_compile() {
cmake --build ${BUILD_DIR}
}
src_install() {
cd ${BUILD_DIR}
emake install
}
|