diff options
-rw-r--r-- | development/swig/README | 16 | ||||
-rw-r--r-- | development/swig/slack-desc | 19 | ||||
-rw-r--r-- | development/swig/swig.SlackBuild | 77 | ||||
-rw-r--r-- | development/swig/swig.info | 8 |
4 files changed, 0 insertions, 120 deletions
diff --git a/development/swig/README b/development/swig/README deleted file mode 100644 index 6063be51f307..000000000000 --- a/development/swig/README +++ /dev/null @@ -1,16 +0,0 @@ -SWIG is a software development tool that connects programs written -in C and C++ with a variety of high-level programming languages. - -SWIG is used with different types of languages including common scripting -languages such as Perl, PHP, Python, Tcl, Ruby and PHP. The list of supported -languages also includes non-scripting languages such as C#, Common Lisp -(CLISP, Allegro CL, CFFI, UFFI), Java, Modula-3 and OCAML. Also several -interpreted and compiled Scheme implementations (Guile, MzScheme, Chicken) are -supported. SWIG is most commonly used to create high-level interpreted or -compiled programming environments, user interfaces, and as a tool for testing -and prototyping C/C++ software. SWIG can also export its parse tree in the -form of XML and Lisp s-expressions. - -swig may build with support for the following: - Tcl, Python, Perl, Java, GCJ, Guile, MzScheme, Ruby, PHP4, ocaml, Pike - Chicken (csc/csi), C#, Lua, Allegro CL, clisp, R diff --git a/development/swig/slack-desc b/development/swig/slack-desc deleted file mode 100644 index 189d275a2601..000000000000 --- a/development/swig/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--------------------------------------------------------| -swig: swig (Simplified Wrapper and Interface Generator) -swig: -swig: SWIG is an interface compiler that connects programs written in C and -swig: C++ with scripting languages such as Perl, Python, Ruby, and Tcl. It -swig: works by taking the declarations found in C/C++ header files and using -swig: them to generate the wrapper code that scripting languages need to -swig: access the underlying C/C++ code. In addition, SWIG provides a variety -swig: of customization features that let you tailor the wrapping process to -swig: suit your application. -swig: -swig: diff --git a/development/swig/swig.SlackBuild b/development/swig/swig.SlackBuild deleted file mode 100644 index 4b9dabf4c797..000000000000 --- a/development/swig/swig.SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -## Written by hollywoodb (hollywoodb@fastmail.fm) - -## Feel free to use, modify, redistribute this script. -## If you make changes please modify the "Written by" -## so that I don't recieve emails about a script I -## did not write. Thanks. - -# Modified by the SlackBuilds.org project - -PRGNAM=swig -VERSION=1.3.38 -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=${PKG:-$TMP/package-$PRGNAM} -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -set -e - -rm -rf $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --exec-prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --build=$ARCH-slackware-linux - -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 -cp -a ANNOUNCE CHANGES* FUTURE INSTALL LICENSE NEW README TODO Examples/ \ - Doc/Manual Doc/Devel $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Fix permissions and wipe the pdf bloat -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; -find $PKG/usr/doc/$PRGNAM-$VERSION -name "*.pdf" -exec rm {} \; - -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/swig/swig.info b/development/swig/swig.info deleted file mode 100644 index 80aed36d17ee..000000000000 --- a/development/swig/swig.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="swig" -VERSION="1.3.38" -HOMEPAGE="http://www.swig.org/" -DOWNLOAD="http://downloads.sourceforge.net/swig/swig-1.3.38.tar.gz" -MD5SUM="650c774917be49c526a4f8a3e733c898" -MAINTAINER="hollywoodb" -EMAIL="hollywoodb@fastmail.fm" -APPROVED="rworkman" |