21 lines
480 B
Plaintext
21 lines
480 B
Plaintext
# Tanım: Pythonda yazılmış C ayrıştırıcı and AST üretici
|
||
# URL: https://github.com/eliben/pycparser
|
||
# Paketçi: milisarge
|
||
# Gerekler: python-setuptools
|
||
|
||
name=pycparser
|
||
version=2.17
|
||
release=1
|
||
source=(https://github.com/eliben/$name/archive/release_v$version.zip::$name-$version.zip)
|
||
|
||
derle() {
|
||
cd $name-release_v$version
|
||
/usr/bin/python setup.py build
|
||
|
||
cd pycparser
|
||
/usr/bin/python _build_tables.py
|
||
cd -
|
||
|
||
/usr/bin/python setup.py install --root=$PKG --optimize=1
|
||
}
|