wok-current view stm8flash/receipt @ rev 25017
updated openjpeg, openjpeg-dev and openjpeg-tools (1.5.0 -> 1.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 06:55:41 2022 +0100 (2022-05-18) |
parents | 4475b80d02a6 |
children |
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 }