wok annotate visualnqc/receipt @ rev 25105
Use archive.org for some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 10:31:41 2022 +0000 (2022-06-22) |
parents | ee5c8b018b62 |
children | 7dd01dedad38 |
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" |
rcx@3992 | 10 WEB_SITE="http://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 } |