contrib/pycparser/Pkgfile

22 lines
529 B
Plaintext
Raw Normal View History

2015-02-19 12:06:39 +01:00
# Description: C parser and AST generator written in Python.
# URL: https://github.com/eliben/pycparser
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
2015-02-19 12:44:43 +01:00
# Depends on: setuptools
2015-02-19 12:06:39 +01:00
name=pycparser
2016-11-27 03:01:05 +01:00
version=2.17
2015-02-19 12:06:39 +01:00
release=1
source=(https://github.com/eliben/$name/archive/release_v$version.zip)
build() {
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
}