wok annotate visualnqc/receipt @ rev 25556

created recipes for nted and nted-lang
author Hans-G?nter Theisgen
date Sat Apr 22 14:54:15 2023 +0100 (19 months ago)
parents b9659e3c2111
children 0262035dc1e7
rev   line source
rcx@3992 1 # SliTaz package receipt.
rcx@3992 2
rcx@3992 3 PACKAGE="visualnqc"
rcx@3992 4 VERSION="1.0-1"
rcx@3992 5 CATEGORY="development"
rcx@3992 6 SHORT_DESC="An iconic language for the Lego Mindstorms RCX."
rcx@3992 7 MAINTAINER="rcx@zoominternet.net"
pascal@15474 8 LICENSE="MPL"
rcx@3992 9 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@25460 10 WEB_SITE="https://funsoftware.sourceforge.net/"
rcx@3992 11 WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
rcx@3992 12
pascal@15474 13 DEPENDS="nqc"
pascal@15474 14 BUILD_DEPENDS=""
pascal@15474 15
pascal@24545 16 # What is the latest version available today?
pascal@24545 17 current_version()
pascal@24545 18 {
pascal@24545 19 wget -O - https://github.com/BrickBot/VisualNQC/releases 2>/dev/null | \
pascal@24545 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24545 21 }
pascal@24545 22
rcx@3992 23 # Rules to configure and make the package.
rcx@3992 24 compile_rules()
rcx@3992 25 {
rcx@3992 26 cd $src
pascal@15602 27 mkdir -p $DESTDIR
pascal@15602 28 cp -a $src/usr $DESTDIR
rcx@3992 29 }
rcx@3992 30
rcx@3992 31 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3992 32 genpkg_rules()
rcx@3992 33 {
rcx@3992 34 mkdir -p $fs
pascal@15474 35 cp -a $install/* $fs
rcx@3992 36 }