forked from ports/contrib
23 lines
505 B
Plaintext
23 lines
505 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=20210126
|
|
gitver=557b4a1f6ddbd4ff26d2587e13b4e860f421aec4
|
|
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
|