ports/contrib (3.5): sip: initial commit, version 4.19.20
commit 6179c7dedff54c03caa521a684636d4e15a84b9f Author: Tim Biermann <tbier@posteo.de> Date: Sun Dec 29 11:40:22 2019 +0100 sip: initial commit, version 4.19.20 diff --git a/sip/.footprint b/sip/.footprint new file mode 100644 index 000000000..c6668c78d --- /dev/null +++ b/sip/.footprint @@ -0,0 +1,5 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/sip +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/sip.h diff --git a/sip/.signature b/sip/.signature new file mode 100644 index 000000000..18cd8b215 --- /dev/null +++ b/sip/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3yDExNFXqpvz9PCdGEgRUIXBK+ID5aEo1Ica/7++kvm1/BZzzustjBjX01UPoX5t/vinLO7e4I6PxgpHi6L27w4= +SHA256 (Pkgfile) = 2c4fd4a1af6618d578a7f879b7e996455c55d16ac04f85d498a32fe2dd72d0f4 +SHA256 (.footprint) = a3243c2569bc065130d403814200fb53bc392ffa8e227f634df119eb14d356b2 +SHA256 (sip-4.19.20.tar.gz) = 04cc2f87ac97e8718d8e1ef036e3ec26050ab44c21f9277618d5b67432fcbfd6 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-$vers...) + +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* +}
participants (1)
-
crux@crux.nu