summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2015-02-17 15:59:34 -0800
committerPalmer Dabbelt <palmer@dabbelt.com>2015-02-17 15:59:34 -0800
commit978aa86d73bd436cd875016f0e3f4e4e97b75d46 (patch)
treed068b5d69fa26fac1dfad1edbd0fdcbf785db898 /sci-electronics
parentAdd libflo at 0.0.18 (diff)
downloadpalmer-978aa86d73bd436cd875016f0e3f4e4e97b75d46.tar.gz
palmer-978aa86d73bd436cd875016f0e3f4e4e97b75d46.tar.bz2
palmer-978aa86d73bd436cd875016f0e3f4e4e97b75d46.zip
Add flo-llvm at 0.0.14
This converts flo files to LLVM IR.
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/flo-llvm/Manifest2
-rw-r--r--sci-electronics/flo-llvm/flo-llvm-0.0.14.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/sci-electronics/flo-llvm/Manifest b/sci-electronics/flo-llvm/Manifest
new file mode 100644
index 0000000..9898901
--- /dev/null
+++ b/sci-electronics/flo-llvm/Manifest
@@ -0,0 +1,2 @@
+DIST flo-llvm-0.0.14.tar.gz 73808 SHA256 9ac599212843fe6192e771cee47ba5fd32c403dfac171e10ade7e26a8330327c SHA512 2076a87166211034e9ffff1607e806b6385f7dca9bce2203181ed97271bc5e2e2c15c7a860ec034df6240325e0777c2240da64aaccc894f9f4b25c639c1bffbf WHIRLPOOL fcd529dc5814a5bed0a7a644ccab813daeef48f5294ae5f2962977fc9170c0e23a0233b3cac82c74b2ae23d2a05d483a6f009fa55cb31135e453090a8189c082
+EBUILD flo-llvm-0.0.14.ebuild 680 SHA256 f57f3f83fc884298dd32e719f54ce3e910282490a41c0f53b311d9c9d4c9f80a SHA512 0d0331d48c5721876427d66019adb959c003b51830a045423e4801ddef8ffd7731ed5e775c36f26e5522effcb0db01d95ba163ebc5e9628f7f60e68524b83f47 WHIRLPOOL 775e5ddbe0de0f1d09f5802e54428cd764902fff8be604059fc55e061d4d8cce0a8fb06d210c6a5d4e992c90500f9b0174c6ea38d87d788d3d22274b248e3741
diff --git a/sci-electronics/flo-llvm/flo-llvm-0.0.14.ebuild b/sci-electronics/flo-llvm/flo-llvm-0.0.14.ebuild
new file mode 100644
index 0000000..56f4b4d
--- /dev/null
+++ b/sci-electronics/flo-llvm/flo-llvm-0.0.14.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
+ 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
+}