wok annotate stm8flash/receipt @ rev 20035
Add stm8flash
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Aug 24 02:43:00 2017 +0200 (2017-08-24) |
parents | |
children | 34e801e0eb52 |
rev | line source |
---|---|
psychomaniak@20035 | 1 # SliTaz package receipt. |
psychomaniak@20035 | 2 |
psychomaniak@20035 | 3 PACKAGE="stm8flash" |
psychomaniak@20035 | 4 VERSION="20170817" |
psychomaniak@20035 | 5 GITHASH="e322a7a" |
psychomaniak@20035 | 6 SHORT_DESC="program your stm8 devices with SWIM/stlinkv(1,2)" |
psychomaniak@20035 | 7 LICENSE="GPL2" |
psychomaniak@20035 | 8 CATEGORY="electronics" |
psychomaniak@20035 | 9 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@20035 | 10 TARBALL="$GITHASH.tar.gz" |
psychomaniak@20035 | 11 |
psychomaniak@20035 | 12 WEB_SITE="https://github.com/vdudouyt/stm8flash" |
psychomaniak@20035 | 13 WGET_URL="$WEB_SITE/archive/$TARBALL" |
psychomaniak@20035 | 14 |
psychomaniak@20035 | 15 DEPENDS="libusb" |
psychomaniak@20035 | 16 BUILD_DEPENDS="libusb-dev" |
psychomaniak@20035 | 17 |
psychomaniak@20035 | 18 # Rules to configure and make the package. |
psychomaniak@20035 | 19 compile_rules() |
psychomaniak@20035 | 20 { |
psychomaniak@20035 | 21 make |
psychomaniak@20035 | 22 make DESTDIR=$DESTDIR install |
psychomaniak@20035 | 23 } |
psychomaniak@20035 | 24 |
psychomaniak@20035 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20035 | 26 genpkg_rules() |
psychomaniak@20035 | 27 { |
psychomaniak@20035 | 28 cp -a $install/* $fs |
psychomaniak@20035 | 29 } |