wok annotate qb2c/receipt @ rev 24593

updated geos and geos-dev (3.8.0 -> 3.10.2)
author Hans-G?nter Theisgen
date Tue Mar 01 13:55:15 2022 +0100 (2022-03-01)
parents 47d354ec6e62
children
rev   line source
pascal@20820 1 # SliTaz package receipt.
pascal@20820 2
pascal@20820 3 PACKAGE="qb2c"
pascal@20820 4 VERSION="3.43"
pascal@20820 5 CATEGORY="development"
pascal@20820 6 SHORT_DESC="QuickBasic to ANSI C converter"
pascal@20820 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20820 8 LICENSE="unknown"
pascal@20820 9 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@20820 10 WEB_SITE="https://fossies.org/linux/misc/old/$TARBALL/"
pascal@20820 11 WGET_URL="${WEB_SITE%/}"
pascal@20820 12 TAGS="basic C"
pascal@20820 13
pascal@24130 14 current_version()
pascal@24130 15 {
pascal@24130 16 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24130 17 sed '/qb2c/!d;s|.*qb2c-||;s|.tgz.*||'
pascal@24130 18 }
pascal@24130 19
pascal@20820 20 # Rules to configure and make the package.
pascal@20820 21 compile_rules()
pascal@20820 22 {
pascal@20831 23 make all
pascal@20820 24 }
pascal@20820 25
pascal@20820 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20820 27 genpkg_rules()
pascal@20820 28 {
pascal@20820 29 mkdir -p $fs/usr/bin $fs/usr/lib $install/usr/share/doc
pascal@20820 30 cp -a $src/qb2c $src/bcpp $src/calib $fs/usr/bin
pascal@20820 31 cp -a $src/libqbX11.a $fs/usr/lib
pascal@20831 32 chown root.root $fs/usr/*/*
pascal@20820 33 cp -a $src/*.txt $src/README $install/usr/share/doc
pascal@20820 34 }