forked from ports/contrib
23 lines
511 B
Plaintext
23 lines
511 B
Plaintext
# 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=20210213
|
|
gitver=d7f2775af8d67d2c3b08823a69fae35d516dfea2
|
|
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
|