diff options
Diffstat (limited to 'sip/Pkgfile')
-rw-r--r-- | sip/Pkgfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sip/Pkgfile b/sip/Pkgfile new file mode 100644 index 000000000..e01698aff --- /dev/null +++ b/sip/Pkgfile @@ -0,0 +1,20 @@ +# 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.20 +release=1 +source=(https://www.riverbankcomputing.com/static/Downloads/sip/$version/$name-$version.tar.gz) + +build() { + cd $name-$version + mkdir build + cd build + 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* +} |