# SliTaz package receipt. PACKAGE="qb2c" VERSION="3.43" CATEGORY="development" SHORT_DESC="QuickBasic to ANSI C converter" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="unknown" TARBALL="$PACKAGE-$VERSION.tgz" WEB_SITE="https://fossies.org/linux/misc/old/$TARBALL/" WGET_URL="${WEB_SITE%/}" TAGS="basic C" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed '/qb2c/!d;s|.*qb2c-||;s|.tgz.*||' } # Rules to configure and make the package. compile_rules() { make all } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/lib $install/usr/share/doc cp -a $src/qb2c $src/bcpp $src/calib $fs/usr/bin cp -a $src/libqbX11.a $fs/usr/lib chown root.root $fs/usr/*/* cp -a $src/*.txt $src/README $install/usr/share/doc }