Files
ports/extra/python2-sip/spkgbuild
2018-04-27 22:40:03 +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 glibc
name=python2-sip
version=4.19.8
release=1
source=(http://sourceforge.net/projects/pyqt/files/sip/sip-$version/sip-$version.tar.gz)
md5sum=(0625fb20347d4ff1b5da551539be0727)
build() {
cd sip-$version
python2 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
make
make DESTDIR=$PKG install
mv $PKG/usr/bin/sip{,-py2}
}