debian swirl logo

Back to the packages list swiginac

#!/usr/bin/make -f

DEB_PYTHON_SYSTEM = pysupport

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

DEB_PYTHON_BUILD_ARGS = 

DEB_COMPRESS_EXCLUDE := .py

USCAN_DESTDIR := $(CURDIR)

# install header and SWIG interface files
install/python-swiginac::
		mkdir -p $(DEB_DESTDIR)/usr/include/swiginac
		cp $(CURDIR)/src/swiginac/swiginac.h $(DEB_DESTDIR)/usr/include/
		cp $(CURDIR)/src/swiginac/*.i $(DEB_DESTDIR)/usr/include/swiginac

get-orig-source:
		uscan --force-download --verbose --destdir $(USCAN_DESTDIR) \
		 --download-version $(DEB_UPSTREAM_VERSION) \
		 --upstream-version $(DEB_UPSTREAM_VERSION)

Builds:

python-swiginac
python interface to ginac