summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/flo-llvm/flo-llvm-0.0.17.ebuild')
-rw-r--r--sci-electronics/flo-llvm/flo-llvm-0.0.17.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/sci-electronics/flo-llvm/flo-llvm-0.0.17.ebuild b/sci-electronics/flo-llvm/flo-llvm-0.0.17.ebuild
new file mode 100644
index 0000000..8a0912b
--- /dev/null
+++ b/sci-electronics/flo-llvm/flo-llvm-0.0.17.ebuild
@@ -0,0 +1,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-0.9.4
+ 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
+}