# HG changeset patch # User Pascal Bellard # Date 1649845654 0 # Node ID 2048be3851169d9b5357f1c30853994a91478f90 # Parent 91ffa413683de75d07249c15505ab50b21033a6d Add as & asxxxx diff -r 91ffa413683d -r 2048be385116 as/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/as/description.txt Wed Apr 13 10:27:34 2022 +0000 @@ -0,0 +1,4 @@ +AS is a portable macro cross assembler for a variety of microprocessors and +microcontrollers. Though it is mainly targeted at embedded processors and +single-board computers, you also find CPU families in the target list that are +used in workstations and PCs. diff -r 91ffa413683d -r 2048be385116 as/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/as/receipt Wed Apr 13 10:27:34 2022 +0000 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="as" +VERSION="1.41r8" +CATEGORY="development" +SHORT_DESC="Macro cross assembler for a variety of microprocessors and -controllers." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://john.ccac.rwth-aachen.de:8000/as/" +WGET_URL="http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/asl-$VERSION.tar.bz2" + +# What is the latest version available today? +current_version() +{ + wget -O - http://john.ccac.rwth-aachen.de:8000/as/download.html 2>/dev/null | \ + sed '/asl-[0-9]/!d;s|.*asl-||;s|.tar.*||;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + sed 's|/local||;s|m486|march=i486|' < Makefile.def-samples/Makefile.def-i386-unknown-linux2.x.x > Makefile.def + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + for i in asl plist pbind p2hex p2bin ; do + cp $src/$i $fs/usr/bin/$i + done +} + diff -r 91ffa413683d -r 2048be385116 asxxxx/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/asxxxx/description.txt Wed Apr 13 10:27:34 2022 +0000 @@ -0,0 +1,11 @@ +The ASxxxx assemblers are a series of microprocessor assemblers +written in the C programming language. This collection contains +cross assemblers for the 1802, S2650, SC/MP, MPS430, 6100, 61860, +6500, 6800(6802/6808), 6801(6803/HD6303), 6804, 6805, 68HC(S)08, +6809, 68HC11, 68HC(S)12, 68HC16, 740, 78K/0, 78K/0S, 8008, 8008S, +8048(8041/8022/8021), 8051, 8085(8080), AT89LP, 8X300(8X305), +DS8XCXXX, AVR, EZ80, F2MC8L/FX, F8/3870, GameBoy(Z80), H8/3xx, +Cypress PSoC(M8C), PIC, Rabbit 2000/3000, ST6, ST7, ST8, Z8, +Z80(HD64180), and Z280 series microprocessors. The companion pro- +gram ASLINK is a relocating linker supporting all the cross assem- +blers. diff -r 91ffa413683d -r 2048be385116 asxxxx/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/asxxxx/receipt Wed Apr 13 10:27:34 2022 +0000 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="asxxxx" +VERSION="5.40" +CATEGORY="development" +SHORT_DESC="Collection of cross assemblers for many microprocessors." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +TARBALL="$PACKAGE-$VERSION.zip" +WEB_SITE="https://shop-pdp.net/ashtml/asxxxx.php" +WGET_URL="https://shop-pdp.net/_ftp/asxxxx/asxs${VERSION/./p}.zip" + +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/ersion/!d;s|.*sion ||;s|,.*||;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p $DESTDIR/usr/bin + cd $src/asxv*pxx/asxmak/linux/build + make DSTEXE=$DESTDIR/usr/bin/ +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr $install/usr/share/doc + cp $src/*.txt $install/usr/share/doc + cp -a $install/usr/bin $fs/usr +} + diff -r 91ffa413683d -r 2048be385116 intel2gas/receipt --- a/intel2gas/receipt Tue Apr 12 16:45:14 2022 +0100 +++ b/intel2gas/receipt Wed Apr 13 10:27:34 2022 +0000 @@ -12,6 +12,14 @@ DEPENDS="gcc-lib-base" +# What is the latest version available today? +current_version() +{ + # replace with https://github.com/skywind3000/Intel2GAS ? + wget -O - https://github.com/skywind3000/Intel2GAS/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r 91ffa413683d -r 2048be385116 manserver/receipt --- a/manserver/receipt Tue Apr 12 16:45:14 2022 +0100 +++ b/manserver/receipt Wed Apr 13 10:27:34 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="perl" #also can use busybox to extract gz, bz2 or xz man pages +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/silviuvulcan/manServer/master/manServer.txt 2>/dev/null | \ + sed '/([0-9]*\.[0-9]*)/!d;s|.*(||;s|).*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() {