debian swirl logo

Back to the packages list kaa-imlib2

#!/usr/bin/make -f

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

DEB_INSTALL_DOCS_ALL = 

install/python-kaa-imlib2::
		: # Replace all '#!' calls to python with /usr/bin/python
		: # and make them executable
		for i in `find debian/python-kaa-imlib2 -type f`; do \
		  sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \
			$$i > $$i.temp; \
		  if cmp --quiet $$i $$i.temp; then \
		    rm -f $$i.temp; \
		  else \
		    mv -f $$i.temp $$i; \
		    chmod 755 $$i; \
		    echo "fixed interpreter: $$i"; \
		  fi; \
		done

clean::
		rm -f src/version.pyc

Builds:

python-kaa-imlib2
imlib2 wrapper for python