wok view qb2c/receipt @ rev 25045

Update some wget_url or web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 08:33:59 2022 +0000 (2022-06-04)
parents 47d354ec6e62
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qb2c"
4 VERSION="3.43"
5 CATEGORY="development"
6 SHORT_DESC="QuickBasic to ANSI C converter"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="https://fossies.org/linux/misc/old/$TARBALL/"
11 WGET_URL="${WEB_SITE%/}"
12 TAGS="basic C"
14 current_version()
15 {
16 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
17 sed '/qb2c/!d;s|.*qb2c-||;s|.tgz.*||'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make all
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/lib $install/usr/share/doc
30 cp -a $src/qb2c $src/bcpp $src/calib $fs/usr/bin
31 cp -a $src/libqbX11.a $fs/usr/lib
32 chown root.root $fs/usr/*/*
33 cp -a $src/*.txt $src/README $install/usr/share/doc
34 }