diff options
-rw-r--r-- | development/sip/README | 29 | ||||
-rw-r--r-- | development/sip/sip.SlackBuild | 68 | ||||
-rw-r--r-- | development/sip/sip.info | 9 | ||||
-rw-r--r-- | development/sip/slack-desc | 19 |
4 files changed, 0 insertions, 125 deletions
diff --git a/development/sip/README b/development/sip/README deleted file mode 100644 index 5f89d2ec27..0000000000 --- a/development/sip/README +++ /dev/null @@ -1,29 +0,0 @@ -One of the features of Python that makes it so powerful is the ability -to take existing libraries, written in C or C++, and make them -available as Python extension modules. Such extension modules are -often called bindings for the library. - -SIP is a tool that makes it very easy to create Python bindings for C -and C++ libraries. It was originally developed to create PyQt, the -Python bindings for the Qt toolkit, but can be used to create bindings -for any C or C++ library. - -NOTE: -This package will, by default, overwrite some files contained in the -stock kdebindings package included in Slackware. The version of sip -included with kdebindings is an older version which works fine for -generating qt3/kde3 python bindings, but the newer versions are needed -to generate qt4 python bindings (pyqt4 on SlackBuilds.org). To the -best of our knowledge, sip is backwards compatible, so there shouldn't -be any adverse effects from the overwritten files, but we cannot make -any promises. If you do encounter problems, remove this sip package -and reinstall the stock kdebinding package, and then notify the -maintainer of this build script (see the sip.info file). -As an alternative, this build script provides a PREFIX variable that -can be set to select a different installation prefix (such as /opt). -Doing so will require you to add the directory in which the sip binary -is located to your PATH, add the sip includes directory to your -compiler includes search path, and add the sip python module path to -your PYTHONPATH environment variable. All of these things will have -to be done manually and in such a way that they take priority over the -files installed in /usr prefix. diff --git a/development/sip/sip.SlackBuild b/development/sip/sip.SlackBuild deleted file mode 100644 index 73c03a91be..0000000000 --- a/development/sip/sip.SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -# Slackware build script for SIP - -# Written by Aleksandar Samardzic <asamardzic@gmail.com> - -PRGNAM=sip -VERSION=${VERSION:-4.7.9} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# See ./README for more information -PREFIX=${PREFIX:-/usr} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -python configure.py \ - -b "$PREFIX/bin" \ - -d "$PREFIX/lib/python2.5/site-packages" \ - -e "$PREFIX/include/python2.5" \ - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" - -make -make install DESTDIR=$PKG - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -install -m 0644 ChangeLog LICENSE NEWS README TODO doc/* \ - $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION -chown -R root:root $PKG/usr/doc - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/development/sip/sip.info b/development/sip/sip.info deleted file mode 100644 index 3f3dd08040..0000000000 --- a/development/sip/sip.info +++ /dev/null @@ -1,9 +0,0 @@ -PRGNAM="sip" -VERSION="4.7.9" -HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/" -DOWNLOAD="http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.7.9.tar.gz" -MD5SUM="597d7ff7edb42a18421c806ffd18a136" -MAINTAINER="Aleksandar Samardzic" -EMAIL="asamardzic@gmail.com" -APPROVED="dsomero" - diff --git a/development/sip/slack-desc b/development/sip/slack-desc deleted file mode 100644 index eb87ff5597..0000000000 --- a/development/sip/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -sip: SIP (a tool for generating Python bindings) -sip: -sip: SIP is a tool that makes it very easy to create Python bindings -sip: for C and C++ libraries. It was originally developed to create -sip: PyQt, the Python bindings for the Qt toolkit, but can be used to -sip: create bindings for any C or C++ library. -sip: -sip: Homepage: http://www.riverbankcomputing.co.uk/software/sip/ -sip: -sip: -sip: |