mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 18:20:07 +00:00
15 lines
427 B
Plaintext
15 lines
427 B
Plaintext
# description : C parser and AST generator written in Python
|
|
# homepage : https://pypi.org/project/pycparser/
|
|
# depends : python3-setuptools
|
|
|
|
name=python3-pycparser
|
|
version=2.21
|
|
release=1
|
|
source="$name-$version.tar.gz::https://github.com/eliben/${name#*-*}/archive/release_v$version.tar.gz"
|
|
|
|
build() {
|
|
cd ${name#*-}-release_v$version
|
|
python3 setup.py build
|
|
python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
|
}
|