wok annotate sdcc/receipt @ rev 24986

Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author Stanislas Leduc <shann@slitaz.org>
date Wed May 11 08:28:28 2022 -0400 (2022-05-11)
parents 3d9966aceee9
children 7dd01dedad38
rev   line source
pascal@11212 1 # SliTaz package receipt.
pascal@11212 2
pascal@11212 3 PACKAGE="sdcc"
Hans-G?nter@23636 4 VERSION="4.0.0"
pascal@11212 5 CATEGORY="development"
Hans-G?nter@23636 6 TAGS="cross compiler C 8051 Z80 68HC08 assembler"
pascal@11212 7 SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08."
pascal@11212 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 9 LICENSE="GPL2"
Hans-G?nter@23636 10 WEB_SITE="http://sdcc.sourceforge.net/"
Hans-G?nter@23636 11
pascal@11212 12 TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
pascal@11212 13 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
pascal@15002 14
pascal@22346 15 DEPENDS="gcc83-lib-base"
pascal@23884 16 BUILD_DEPENDS="automake flex gcc83 gcc83-lib-base gputils libboost-graph-dev texinfo"
pascal@11212 17
pascal@24348 18 # What is the latest version available today?
pascal@24348 19 current_version()
pascal@24348 20 {
pascal@24348 21 wget -O - https://sourceforge.net/projects/sdcc/files/sdcc/ 2>/dev/null | \
pascal@24348 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24348 23 sed '/scope="row/!d;s|.*/sdcc/||;s|/.*||;q'
pascal@24348 24 }
pascal@24348 25
pascal@11212 26 # Rules to configure and make the package.
pascal@11212 27 compile_rules()
pascal@11212 28 {
Hans-G?nter@23636 29 ./configure \
Hans-G?nter@23636 30 CC=gcc-83 \
Hans-G?nter@23636 31 CXX=g++-83 \
Hans-G?nter@23636 32 --prefix=/usr \
Hans-G?nter@23636 33 --infodir=/usr/share/info \
Hans-G?nter@23636 34 --mandir=/usr/share/man \
Hans-G?nter@23636 35 $CONFIGURE_ARGS &&
pascal@11212 36 make &&
pascal@13037 37 make DESTDIR=$DESTDIR install
pascal@11212 38 }
pascal@11212 39
pascal@11212 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11212 41 genpkg_rules()
pascal@11212 42 {
Hans-G?nter@23636 43 cp -a $install/usr $fs
pascal@11212 44 }