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"