blob: 56f4b4d614a302dcea450d85b6cc4c248cb5d243 (
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
|
EAPI="5"
inherit eutils
DESCRIPTION="Converts Flo files to LLVM files"
HOMEPAGE="http://dabbelt.com/~palmer/software/${PN}/"
SRC_URI="https://github.com/palmer-dabbelt/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0/$PV"
KEYWORDS="amd64 amd64-linux"
IUSE=""
RDEPEND="sys-devel/pconfigure
sci-electronics/libflo:=
sys-devel/llvm
sys-devel/clang"
DEPEND="${RDEPEND}"
src_configure() {
echo "PREFIX = ${EPREFIX}/usr" > Configfile.local
echo "LANGUAGES += c" >> Configfile.local
echo "COMPILEOPTS += -DNDEBUG" >> Configfile.local
pconfigure --verbose || die "pconfigure failed"
}
src_install() {
make D=$D install
}
|