talimat 499 B

12345678910111213141516171819202122
  1. # Description: C ayrıştırıcı ve AST jeneratörü Python ile yazılmış.
  2. # URL: https://github.com/eliben/pycparser
  3. # Packager: milisarge
  4. # Depends on: python-setuptools
  5. name=python-cparser
  6. _name=pycparser
  7. version=2.14
  8. release=1
  9. source=(https://github.com/eliben/$_name/archive/release_v$version.zip)
  10. build() {
  11. cd $_name-release_v$version
  12. /usr/bin/python2 setup.py build
  13. cd pycparser
  14. /usr/bin/python2 _build_tables.py
  15. cd -
  16. /usr/bin/python2 setup.py install --root=$PKG --optimize=1
  17. }