wok rev 24924

Add as & asxxxx
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 13 10:27:34 2022 +0000 (2022-04-13)
parents 91ffa413683d
children 26718eedbc22
files as/description.txt as/receipt asxxxx/description.txt asxxxx/receipt intel2gas/receipt manserver/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/as/description.txt	Wed Apr 13 10:27:34 2022 +0000
     1.3 @@ -0,0 +1,4 @@
     1.4 +AS is a portable macro cross assembler for a variety of microprocessors and
     1.5 +microcontrollers. Though it is mainly targeted at embedded processors and
     1.6 +single-board computers, you also find CPU families in the target list that are
     1.7 +used in workstations and PCs.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/as/receipt	Wed Apr 13 10:27:34 2022 +0000
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="as"
     2.7 +VERSION="1.41r8"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Macro cross assembler for a variety of microprocessors and -controllers."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +WEB_SITE="http://john.ccac.rwth-aachen.de:8000/as/"
    2.14 +WGET_URL="http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/asl-$VERSION.tar.bz2"
    2.15 +
    2.16 +# What is the latest version available today?
    2.17 +current_version()
    2.18 +{
    2.19 +	wget -O - http://john.ccac.rwth-aachen.de:8000/as/download.html 2>/dev/null | \
    2.20 +	sed '/asl-[0-9]/!d;s|.*asl-||;s|.tar.*||;q'
    2.21 +}
    2.22 +
    2.23 +# Rules to configure and make the package.
    2.24 +compile_rules()
    2.25 +{
    2.26 +	sed 's|/local||;s|m486|march=i486|' < Makefile.def-samples/Makefile.def-i386-unknown-linux2.x.x > Makefile.def
    2.27 +	make
    2.28 +}
    2.29 +
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	mkdir -p $fs/usr/bin
    2.34 +	for i in asl plist pbind p2hex p2bin ; do
    2.35 +		cp $src/$i $fs/usr/bin/$i
    2.36 +	done
    2.37 +}
    2.38 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/asxxxx/description.txt	Wed Apr 13 10:27:34 2022 +0000
     3.3 @@ -0,0 +1,11 @@
     3.4 +The ASxxxx assemblers are a series of microprocessor assemblers
     3.5 +written in the C programming language. This collection contains
     3.6 +cross assemblers for the 1802, S2650, SC/MP, MPS430, 6100, 61860,
     3.7 +6500, 6800(6802/6808), 6801(6803/HD6303), 6804, 6805, 68HC(S)08,
     3.8 +6809, 68HC11, 68HC(S)12, 68HC16, 740, 78K/0, 78K/0S, 8008, 8008S,
     3.9 +8048(8041/8022/8021), 8051, 8085(8080), AT89LP, 8X300(8X305),
    3.10 +DS8XCXXX, AVR, EZ80, F2MC8L/FX, F8/3870, GameBoy(Z80), H8/3xx,
    3.11 +Cypress PSoC(M8C), PIC, Rabbit 2000/3000, ST6, ST7, ST8, Z8,
    3.12 +Z80(HD64180), and Z280 series microprocessors. The companion pro-
    3.13 +gram ASLINK is a relocating linker supporting all the cross assem-
    3.14 +blers.
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/asxxxx/receipt	Wed Apr 13 10:27:34 2022 +0000
     4.3 @@ -0,0 +1,35 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="asxxxx"
     4.7 +VERSION="5.40"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="Collection of cross assemblers for many microprocessors."
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +LICENSE="GPL3"
    4.12 +TARBALL="$PACKAGE-$VERSION.zip"
    4.13 +WEB_SITE="https://shop-pdp.net/ashtml/asxxxx.php"
    4.14 +WGET_URL="https://shop-pdp.net/_ftp/asxxxx/asxs${VERSION/./p}.zip"
    4.15 +
    4.16 +# What is the latest version available today?
    4.17 +current_version()
    4.18 +{
    4.19 +	wget -O - $WEB_SITE 2>/dev/null | \
    4.20 +	sed '/ersion/!d;s|.*sion ||;s|,.*||;q'
    4.21 +}
    4.22 +
    4.23 +# Rules to configure and make the package.
    4.24 +compile_rules()
    4.25 +{
    4.26 +	mkdir -p $DESTDIR/usr/bin
    4.27 +	cd $src/asxv*pxx/asxmak/linux/build
    4.28 +	make DSTEXE=$DESTDIR/usr/bin/
    4.29 +}
    4.30 +
    4.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.32 +genpkg_rules()
    4.33 +{
    4.34 +	mkdir -p $fs/usr $install/usr/share/doc
    4.35 +	cp $src/*.txt $install/usr/share/doc
    4.36 +	cp -a $install/usr/bin $fs/usr
    4.37 +}
    4.38 +
     5.1 --- a/intel2gas/receipt	Tue Apr 12 16:45:14 2022 +0100
     5.2 +++ b/intel2gas/receipt	Wed Apr 13 10:27:34 2022 +0000
     5.3 @@ -12,6 +12,14 @@
     5.4  
     5.5  DEPENDS="gcc-lib-base"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	# replace with https://github.com/skywind3000/Intel2GAS ?
    5.11 +	wget -O - https://github.com/skywind3000/Intel2GAS/commits/master 2>/dev/null | \
    5.12 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
    5.13 +}
    5.14 +
    5.15  # Rules to configure and make the package.
    5.16  compile_rules()
    5.17  {
     6.1 --- a/manserver/receipt	Tue Apr 12 16:45:14 2022 +0100
     6.2 +++ b/manserver/receipt	Wed Apr 13 10:27:34 2022 +0000
     6.3 @@ -12,6 +12,13 @@
     6.4  
     6.5  DEPENDS="perl" #also can use busybox to extract gz, bz2 or xz man pages
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - https://raw.githubusercontent.com/silviuvulcan/manServer/master/manServer.txt 2>/dev/null | \
    6.11 +	sed '/([0-9]*\.[0-9]*)/!d;s|.*(||;s|).*||;q'
    6.12 +}
    6.13 +
    6.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.15  genpkg_rules()
    6.16  {