diff options
Diffstat (limited to 'source')
-rwxr-xr-x | source/l/sip/sip.SlackBuild | 39 | ||||
-rwxr-xr-x | source/n/getmail/getmail.SlackBuild | 2 |
2 files changed, 39 insertions, 2 deletions
diff --git a/source/l/sip/sip.SlackBuild b/source/l/sip/sip.SlackBuild index 4668df16..3edf8c5c 100755 --- a/source/l/sip/sip.SlackBuild +++ b/source/l/sip/sip.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=sip VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -87,6 +87,30 @@ find . \ -exec chmod 644 {} \+ python2 configure.py \ + -b "/usr/bin" \ + -d "$PYTHON2LIB" \ + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + || exit 1 +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +## Add the PyQt4 private sip module: +#make clean +#python2 configure.py \ +# --sip-module PyQt4.sip \ +# --no-tools \ +# -b "/usr/bin" \ +# -d "$PYTHON2LIB" \ +# CFLAGS="$SLKCFLAGS" \ +# CXXFLAGS="$SLKCFLAGS" \ +# || exit 1 +#make $NUMJOBS || make || exit 1 +#make install DESTDIR=$PKG || exit 1 + +# Add the PyQt5 private sip module: +make clean +python2 configure.py \ --sip-module PyQt5.sip \ --no-tools \ -b "/usr/bin" \ @@ -101,6 +125,7 @@ make install DESTDIR=$PKG || exit 1 mv $PKG/usr/bin/sip $PKG/usr/bin/sip2 make clean + python3 configure.py \ -b "/usr/bin" \ -d "$PYTHON3LIB" \ @@ -109,6 +134,18 @@ python3 configure.py \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 +## Add the PyQt4 private sip module: +#make clean +#python3 configure.py \ +# --sip-module PyQt4.sip \ +# --no-tools \ +# -b "/usr/bin" \ +# -d "$PYTHON3LIB" \ +# CFLAGS="$SLKCFLAGS" \ +# CXXFLAGS="$SLKCFLAGS" || exit 1 +#make $NUMJOBS || make || exit 1 +#make install DESTDIR=$PKG || exit 1 + # Add the PyQt5 private sip module: make clean python3 configure.py \ diff --git a/source/n/getmail/getmail.SlackBuild b/source/n/getmail/getmail.SlackBuild index 47daff25..1830c241 100755 --- a/source/n/getmail/getmail.SlackBuild +++ b/source/n/getmail/getmail.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=getmail VERSION=${VERSION:-$(echo getmail6-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then |