development/uisp: Initial import

This commit is contained in:
B.Ton 2010-05-11 14:05:53 +02:00 committed by Robby Workman
parent c06ab5f8c1
commit 16cd6a2182
4 changed files with 79 additions and 0 deletions

5
development/uisp/README Normal file
View file

@ -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.

View file

@ -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:

View file

@ -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

View file

@ -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"