From 16cd6a2182f246fba3441bc0e430516662ede5d9 Mon Sep 17 00:00:00 2001 From: "B.Ton" Date: Tue, 11 May 2010 14:05:53 +0200 Subject: development/uisp: Initial import --- development/uisp/README | 5 ++++ development/uisp/slack-desc | 11 ++++++++ development/uisp/uisp.SlackBuild | 55 ++++++++++++++++++++++++++++++++++++++++ development/uisp/uisp.info | 8 ++++++ 4 files changed, 79 insertions(+) create mode 100644 development/uisp/README create mode 100644 development/uisp/slack-desc create mode 100644 development/uisp/uisp.SlackBuild create mode 100644 development/uisp/uisp.info diff --git a/development/uisp/README b/development/uisp/README new file mode 100644 index 0000000000..58872e83a8 --- /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 0000000000..fb339a805e --- /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 0000000000..77c50432c7 --- /dev/null +++ b/development/uisp/uisp.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for uisp +# Written by B.Ton +# 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 0000000000..c0bb88043b --- /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" -- cgit v1.2.3