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=20210731
|
|
gitver=931a146591ecc5e8bb45b5518a39e7fee92924f0
|
|
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
|