Files
ports/archived/python2-sip/spkgbuild
2022-11-02 08:50:51 +00:00

16 lines
422 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.25
release=1
source="https://www.riverbankcomputing.com/static/Downloads/sip/$version/sip-$version.tar.gz"
build() {
cd sip-$version
python2 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
make
make DESTDIR=$PKG install
mv $PKG/usr/bin/sip $PKG/usr/bin/sip-py2
}