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-07-31 16:27:43 +02:00
|
|
|
version=20210731
|
|
|
|
gitver=931a146591ecc5e8bb45b5518a39e7fee92924f0
|
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
|