wok-current diff as/receipt @ rev 25418

duat: use archive.org for web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 05 16:48:05 2022 +0000 (2022-08-05)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/as/receipt	Fri Aug 05 16:48:05 2022 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="as"
     1.7 +VERSION="1.41r8"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Macro cross assembler for a variety of microprocessors and -controllers."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://john.ccac.rwth-aachen.de:8000/as/"
    1.14 +WGET_URL="http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/asl-$VERSION.tar.bz2"
    1.15 +
    1.16 +# What is the latest version available today?
    1.17 +current_version()
    1.18 +{
    1.19 +	wget -O - http://john.ccac.rwth-aachen.de:8000/as/download.html 2>/dev/null | \
    1.20 +	sed '/asl-[0-9]/!d;s|.*asl-||;s|.tar.*||;q'
    1.21 +}
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	sed 's|/local||;s|m486|march=i486|' < Makefile.def-samples/Makefile.def-i386-unknown-linux2.x.x > Makefile.def
    1.27 +	make
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/bin
    1.34 +	for i in asl plist pbind p2hex p2bin ; do
    1.35 +		cp $src/$i $fs/usr/bin/$i
    1.36 +	done
    1.37 +}
    1.38 +