mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/tavrasm: Initial import
This commit is contained in:
parent
a1ee41f337
commit
0e0ee843a6
4 changed files with 76 additions and 0 deletions
13
development/tavrasm/README
Normal file
13
development/tavrasm/README
Normal file
|
@ -0,0 +1,13 @@
|
|||
tavrasm is an assembler for the Atmel AVR family of micro-controllers.
|
||||
It uses a syntax similar to the one found in the Atmel AVR DOS assembler.
|
||||
Some of the features includes:
|
||||
|
||||
- Super-set of Atmel AVR assembler.
|
||||
- Macros in macros.
|
||||
- Save Intel HEX, Motorola S-record, Generic and binary output.
|
||||
- More than 100 warning/error messages.
|
||||
- Atmel object files compatible with Atmel's AVR Studio.
|
||||
- C escape characters in char/string literals.
|
||||
- Runs on (win)DOS, Linux, OS/2, Solaris, ...
|
||||
- Free software released under GPL.
|
||||
|
9
development/tavrasm/slack-desc
Normal file
9
development/tavrasm/slack-desc
Normal file
|
@ -0,0 +1,9 @@
|
|||
tavrasm: tavrasm (Toms Linux AVR Assembler)
|
||||
tavrasm:
|
||||
tavrasm: A assembler for the Atmel AVR series of micro-controllers. It uses a
|
||||
tavrasm: syntax similar to the one found in the Atmel AVR DOS assembler.
|
||||
tavrasm:
|
||||
tavrasm: http://www.tavrasm.org
|
||||
tavrasm:
|
||||
tavrasm:
|
||||
tavrasm:
|
46
development/tavrasm/tavrasm.SlackBuild
Normal file
46
development/tavrasm/tavrasm.SlackBuild
Normal file
|
@ -0,0 +1,46 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for tavrasm
|
||||
# Written by B.Ton <b.t.ton@student.utwente.nl>
|
||||
# Modified by the SlackBuilds.org project
|
||||
|
||||
set -e
|
||||
|
||||
PRGNAM=tavrasm
|
||||
VERSION=122
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
CWD=`pwd`
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM
|
||||
tar -xzvf $CWD/$PRGNAM.tar.gz
|
||||
cd $PRGNAM.$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
cd src
|
||||
make
|
||||
install -D -m 0755 tavrasm $PKG/usr/bin/tavrasm
|
||||
strip --strip-unneeded $PKG/usr/bin/tavrasm
|
||||
cd ..
|
||||
|
||||
# Install the man page included with the source
|
||||
install -D -m 0644 tavrasm.1 $PKG/usr/man/man1/tavrasm.1
|
||||
gzip -9 $PKG/usr/man/man1/tavrasm.1
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README gpl.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
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
|
8
development/tavrasm/tavrasm.info
Normal file
8
development/tavrasm/tavrasm.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="tavrasm"
|
||||
VERSION="122"
|
||||
HOMEPAGE="http://www.tavrasm.org"
|
||||
DOWNLOAD="http://www.tavrasm.org/tavrasm.tar.gz"
|
||||
MD5SUM="db6dff5aedbfe98939a9a457d97a2f6a"
|
||||
MAINTAINER="B.Ton"
|
||||
EMAIL="b.t.ton@student.utwente.nl"
|
||||
APPROVED="robw810"
|
Loading…
Reference in a new issue