wok view visualnqc/receipt @ rev 24789

grep: add post_install (install)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 21 09:36:52 2022 +0000 (2022-03-21)
parents ee5c8b018b62
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="visualnqc"
4 VERSION="1.0-1"
5 CATEGORY="development"
6 SHORT_DESC="An iconic language for the Lego Mindstorms RCX."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="MPL"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://funsoftware.sourceforge.net/"
11 WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
13 DEPENDS="nqc"
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/BrickBot/VisualNQC/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 mkdir -p $DESTDIR
28 cp -a $src/usr $DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs
35 cp -a $install/* $fs
36 }