2015-12-01 18:07:30 +00:00
|
|
|
#/bin/sh
|
2020-03-06 10:43:58 +00:00
|
|
|
echo This script requires that python-ctypeslib is installed on the system
|
|
|
|
echo Unfortunately, this package is long unmaintained and only available on Debian8
|
|
|
|
echo
|
|
|
|
|
|
|
|
if [ ! -x `which h2xml` ]; then
|
|
|
|
echo No h2xml executable found - python-ctypeslib not installed?
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -x `which xml2py` ]; then
|
|
|
|
echo No xml2py executable found - python-ctypeslib not installed?
|
|
|
|
fi
|
|
|
|
|
2015-12-01 18:07:30 +00:00
|
|
|
cp ./mncc.h /tmp/mncc.h
|
2020-03-06 10:43:58 +00:00
|
|
|
h2xml ./mncc.h -c -o mncc.xml
|
|
|
|
xml2py mncc.xml -k dest -v -o mncc.py
|