wok annotate as/receipt @ rev 25801

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