1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Maintainer: Sebastien Binet <binet@lblbox>
3 pkgname=python-pybindgen
6 pkgdesc="A tool to generate Python bindings for C/C++ code"
7 url="http://pypi.python.org/pypi/PyBindGen"
11 makedepends=('python-waf')
14 source=(http://pybindgen.googlecode.com/files/pybindgen-${pkgver}.zip)
15 md5sums=('e4c8b4e68c32216b3deda510e7fb2ebb')
18 cd $startdir/src/pybindgen-$pkgver
19 PYTHON=python2 python2 ./waf configure --prefix=/usr || return 1
20 PYTHON=python2 python2 ./waf || return 1
21 PYTHON=python2 python2 ./waf install --prefix=/usr --destdir=$startdir/pkg || return 1