# Description: A tool that makes it easy to create Python bindings for C and C++ libraries # URL: https://www.riverbankcomputing.com/software/sip/intro # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: python3 name=sip version=4.19.24 release=1 source=(https://www.riverbankcomputing.com/static/Downloads/sip/$version/$name-$version.tar.gz) build() { cd $name-$version mkdir build cd build /usr/bin/python3 ../configure.py CFLAGS="$CFLAGS" make make DESTDIR=$PKG install -C sipgen mv $PKG/usr/include/{python*/sip.h,} rm -r $PKG/usr/include/python* }