# Depends on: python2

description="A tool that makes it easy to create Python bindings for C and C++ libraries"
url="http://www.riverbankcomputing.co.uk/software/sip/intro"
packager="pierre at nutyx dot org"
name=sip
version=4.18
release=2

source=(http://sourceforge.net/projects/pyqt/files/sip/sip-$version/sip-$version.tar.gz )

build() {
	cd $name-$version
	python configure.py -b /usr/bin \
	-d /usr/lib/python2.7/site-packages \
	-e /usr/include/python2.7 \
	-v /usr/share/sip
	make
	make DESTDIR=$PKG install
	chmod 644 $PKG/usr/lib/python2.7/site-packages/sipdistutils.py
}
  
