3bb7e983a721 — Leonard Ritter 2 years ago
* added tinycc recipe
1 files changed, 26 insertions(+), 0 deletions(-)

A => recipes/tinycc.eo
A => recipes/tinycc.eo +26 -0
@@ 0,0 1,26 @@ 
+version := "release_0_9_27"
+archive :=
+    download
+        "https://repo.or.cz/tinycc.git/snapshot/refs/tags/{version}.tar.gz"
+build-path := (commonpath (extract archive))
+cmd :=
+    shell build-path
+        dict
+            CFLAGS = "-fPIC"
+            CXXFLAGS = "-fPIC"
+            CPPFLAGS = "-fPIC"
+build-path :=
+    then
+        cmd "./configure --disable-static"
+        cmd "make -j {cpu-core-count}"
+        cmd "find"
+        build-path
+package tinycc
+    summary "Tiny C Compiler"
+    platform linux
+    version version
+
+    alias "/lib/libtcc.so" "{build-path}/libtcc.so"
+    in "/include/libtcc"
+        "{build-path}/libtcc.h"
+        "{build-path}/include"