2020-12-30 22:28:19 +01:00
|
|
|
# Description: Tiny C Compiler - C Scripting Everywhere
|
|
|
|
# URL: https://repo.or.cz/tinycc.git/
|
|
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
|
|
|
|
|
|
|
name=tcc
|
2021-05-01 19:08:34 +02:00
|
|
|
version=20210501
|
|
|
|
gitver=3564c47e520fae41e0789ac5393bb086d6e1018c
|
2020-12-30 22:28:19 +01:00
|
|
|
release=1
|
2021-02-08 22:48:56 +01:00
|
|
|
source=(https://repo.or.cz/tinycc.git/snapshot/${gitver}.tar.gz)
|
2020-12-30 22:28:19 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd tinycc-*
|
|
|
|
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
|
|
|
sed -i -E 's/^TCCDOCS.*$/TCCDOCS = tcc.1/' Makefile
|
|
|
|
|
2021-02-08 22:48:56 +01:00
|
|
|
make MAKEFLAGS="${MAKEFLAGS}" &&
|
|
|
|
make DESTDIR="${PKG}" install
|
2020-12-30 22:28:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# s-sh-mode
|