diff options
author | B.Ton <b.t.ton@student.utwente.nl> | 2010-05-11 14:05:53 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 14:05:53 +0200 |
commit | 16cd6a2182f246fba3441bc0e430516662ede5d9 (patch) | |
tree | 99c741b178afac2ba3a5bfea9bb716376b326e5f | |
parent | c06ab5f8c1b5d9dd5d303a19ee6e0595e5ec9bcf (diff) |
development/uisp: Initial import
-rw-r--r-- | development/uisp/README | 5 | ||||
-rw-r--r-- | development/uisp/slack-desc | 11 | ||||
-rw-r--r-- | development/uisp/uisp.SlackBuild | 55 | ||||
-rw-r--r-- | development/uisp/uisp.info | 8 |
4 files changed, 79 insertions, 0 deletions
diff --git a/development/uisp/README b/development/uisp/README new file mode 100644 index 000000000000..58872e83a81f --- /dev/null +++ b/development/uisp/README @@ -0,0 +1,5 @@ +UISP is a tool for AVR (and AT89S) microcontrollers which can +interface to many hardware in-system programmers. UISP allows you to +program your microcontroller through the parallel or serial port of +your computer. + diff --git a/development/uisp/slack-desc b/development/uisp/slack-desc new file mode 100644 index 000000000000..fb339a805ede --- /dev/null +++ b/development/uisp/slack-desc @@ -0,0 +1,11 @@ +uisp: uisp (AVR In-System Programmer) +uisp: +uisp: UISP is a tool for AVR (and AT89S) microcontrollers which can +uisp: interface to many hardware in-system programmers. UISP allows you to +uisp: program your microcontroller through the parallel or serial port of +uisp: your computer. +uisp: +uisp: http://www.nongnu.org/uisp/ +uisp: +uisp: +uisp: diff --git a/development/uisp/uisp.SlackBuild b/development/uisp/uisp.SlackBuild new file mode 100644 index 000000000000..77c50432c784 --- /dev/null +++ b/development/uisp/uisp.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for uisp +# Written by B.Ton <b.t.ton@student.utwente.nl> +# Modified by the SlackBuilds.org project + +set -e + +PRGNAM=uisp +VERSION=20050207 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=`pwd` +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar -xzvf $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 + +make || exit 1 +make install-strip DESTDIR=$PKG + +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) + +mv $PKG/usr/share/doc $PKG/usr +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rmdir $PKG/usr/share + +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/uisp/uisp.info b/development/uisp/uisp.info new file mode 100644 index 000000000000..c0bb88043b1c --- /dev/null +++ b/development/uisp/uisp.info @@ -0,0 +1,8 @@ +PRGNAM="uisp" +VERSION="20050207" +HOMEPAGE="http://www.nongnu.org/uisp/" +DOWNLOAD="http://savannah.nongnu.org/download/uisp/uisp-20050207.tar.gz" +MD5SUM="b1e499d5a1011489635c1a0e482b1627" +MAINTAINER="B.Ton" +EMAIL="b.t.ton@student.utwente.nl" +APPROVED="robw810" |