Files
ports/core/python2-sip/spkgbuild
2019-09-19 23:43:13 +08:00

18 lines
451 B
Plaintext

# description : A tool that makes it easy to create Python bindings for C and C++ libraries (python2)
# depends : python2
name=python2-sip
version=4.19.19
release=1
source=(https://www.riverbankcomputing.com/static/Downloads/sip/$version/sip-$version.tar.gz)
md5sum=(98111479309dc472410f26080d6d4a88)
build() {
cd sip-$version
python2 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
make
make DESTDIR=$PKG install
mv $PKG/usr/bin/sip{,-py2}
}