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-02-04 23:31:03 +01:00
|
|
|
version=20210204
|
|
|
|
gitver=fbef90a7039b994907db34fde50f6fa5e46ab535
|
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
|