wok view as/receipt @ rev 25433
Add httpfs2-enhanced
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 26 10:41:11 2022 +0000 (2022-08-26) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="as"
4 VERSION="1.41r8"
5 CATEGORY="development"
6 SHORT_DESC="Macro cross assembler for a variety of microprocessors and -controllers."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://john.ccac.rwth-aachen.de:8000/as/"
11 WGET_URL="http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/asl-$VERSION.tar.bz2"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - http://john.ccac.rwth-aachen.de:8000/as/download.html 2>/dev/null | \
17 sed '/asl-[0-9]/!d;s|.*asl-||;s|.tar.*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed 's|/local||;s|m486|march=i486|' < Makefile.def-samples/Makefile.def-i386-unknown-linux2.x.x > Makefile.def
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 for i in asl plist pbind p2hex p2bin ; do
32 cp $src/$i $fs/usr/bin/$i
33 done
34 }