blob: e01698aff825116c171305dc4f0b20ccc0459b1b (
plain)
1 # Description: A tool that makes it easy to create Python bindings for C and C++ libraries
2 # URL: https://www.riverbankcomputing.com/software/sip/intro
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3
5
6 name=sip
7 version=4.19.20
8 release=1
9 source=(https://www.riverbankcomputing.com/static/Downloads/sip/$version/$name-$version.tar.gz)
10
11 build() {
12 cd $name-$version
13 mkdir build
14 cd build
15 python3 ../configure.py CFLAGS="$CFLAGS"
16 make
17 make DESTDIR=$PKG install -C sipgen
18 mv $PKG/usr/include/{python*/sip.h,}
19 rm -r $PKG/usr/include/python*
20 }
|