wok view stm8flash/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 4475b80d02a6
children c965782a38e0
line source
1 # SliTaz package receipt.
3 PACKAGE="stm8flash"
4 VERSION="20170817"
5 GITHASH="e322a7a"
6 SHORT_DESC="program your stm8 devices with SWIM/stlinkv(1,2)"
7 LICENSE="GPL2"
8 CATEGORY="electronics"
9 MAINTAINER="psychomaniak@xakep.ru"
10 TARBALL="$GITHASH.tar.gz"
12 WEB_SITE="https://github.com/vdudouyt/stm8flash"
13 WGET_URL="$WEB_SITE/archive/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
19 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
20 }
22 DEPENDS="libusb"
23 BUILD_DEPENDS="libusb-dev"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }