#!/usr/bin/make -f
SWIGBIN ?=
DEB_PYTHON_SYSTEM=pycentral

# Debhelper must be included before python-distutils to use
# dh_python / dh_pycentral / dh_pysupport

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

# Add here any variable or target overrides you need.

# build options for the Python build script
#DEB_PYTHON_BUILD_ARGS = --build-base="$(DEB_BUILDDIR)/specific-build-dir"

DEB_PYTHON_BUILD_ARGS = "USE_SWIG=1 WX_CONFIG=/usr/bin/wx-config SWIG=$(SWIGBIN)"

# common additional install options for all binary packages
#   ('--root' option is always set)
#DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile --optimize --force


#python setup.py USE_SWIG=1 WX_CONFIG=/usr/bin/wx-config SWIG=/opt/bin/swig build
#sudo python setup.py USE_SWIG=1 WX_CONFIG=/usr/bin/wx-config SWIG=/opt/bin/swig install