milis/talimatname/genel/p/python-cparser/talimat

22 lines
484 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: C ayrıştırıcı ve AST jeneratörü Python ile yazılmış.
2016-06-02 02:54:02 +02:00
# URL: https://github.com/eliben/pycparser
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: python-setuptools
2016-06-02 02:54:02 +02:00
2017-10-28 14:10:23 +02:00
isim=python-cparser
_isim=pycparser
surum=2.14
devir=1
kaynak=(https://github.com/eliben/$_name/archive/release_v$surum.zip)
2016-06-02 02:54:02 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $_name-release_v$surum
2016-06-02 02:54:02 +02:00
/usr/bin/python2 setup.py build
cd pycparser
/usr/bin/python2 _build_tables.py
cd -
/usr/bin/python2 setup.py install --root=$PKG --optimize=1
}