commit ca0b09d6bd24fcdd0978f53d40b789224fbfd232 Author: Steffen Nurpmeso <steffen@sdaoden.eu> Date: Wed Dec 30 22:28:19 2020 +0100 tcc: new port diff --git a/tcc/.footprint b/tcc/.footprint new file mode 100644 index 000000000..0f272e836 --- /dev/null +++ b/tcc/.footprint @@ -0,0 +1,26 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/tcc +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/libtcc.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libtcc.a +drwxr-xr-x root/root usr/lib/tcc/ +-rw-r--r-- root/root usr/lib/tcc/bcheck.o +-rw-r--r-- root/root usr/lib/tcc/bt-exe.o +-rw-r--r-- root/root usr/lib/tcc/bt-log.o +drwxr-xr-x root/root usr/lib/tcc/include/ +-rw-r--r-- root/root usr/lib/tcc/include/float.h +-rw-r--r-- root/root usr/lib/tcc/include/stdalign.h +-rw-r--r-- root/root usr/lib/tcc/include/stdarg.h +-rw-r--r-- root/root usr/lib/tcc/include/stdbool.h +-rw-r--r-- root/root usr/lib/tcc/include/stddef.h +-rw-r--r-- root/root usr/lib/tcc/include/stdnoreturn.h +-rw-r--r-- root/root usr/lib/tcc/include/tcclib.h +-rw-r--r-- root/root usr/lib/tcc/include/tgmath.h +-rw-r--r-- root/root usr/lib/tcc/include/varargs.h +-rw-r--r-- root/root usr/lib/tcc/libtcc1.a +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/tcc.1.gz diff --git a/tcc/.signature b/tcc/.signature new file mode 100644 index 000000000..8f607cd1e --- /dev/null +++ b/tcc/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/stenur.pub +RWQEMWjN1NA43wTPFk/2XBNb6XgbzxAozeyFeZdBB6MncYxsLlvNzTDNhc4YMr+sriR+r0McBR8o1YronzzxalZGhGZvYXNGOAg= +SHA256 (Pkgfile) = 3fe41e91fa9515f8e8ba49a65a801edd7ba3f259d6338db4f7bece2bfaef3270 +SHA256 (.footprint) = cfdf829b5d150891e8df0dcdf9fab96f3724dd65031058ee5af8e00a8415e7b6 +SHA256 (f233cb182c7168a0705f82aa293ec36478a022c1.tar.gz) = 79c969ef4c3813083c9d9f260a2337d7f30a60b1c7f75cc0ee9817671ef19b5e diff --git a/tcc/Pkgfile b/tcc/Pkgfile new file mode 100644 index 000000000..b8b9aed9d --- /dev/null +++ b/tcc/Pkgfile @@ -0,0 +1,22 @@ +# Description: Tiny C Compiler - C Scripting Everywhere +# URL: https://repo.or.cz/tinycc.git/ +# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu + +name=tcc +version=20201211 +gitver=f233cb182c7168a0705f82aa293ec36478a022c1 +release=1 +source=(https://repo.or.cz/tinycc.git/snapshot/$gitver.tar.gz) + +build() { + cd tinycc-* + + ./configure --prefix=/usr + + sed -i -E 's/^TCCDOCS.*$/TCCDOCS = tcc.1/' Makefile + + make MAKEFLAGS="$MAKEFLAGS" && + make DESTDIR="$PKG" install +} + +# s-sh-mode