wok diff stm8flash/receipt @ rev 24178

created recipe for perl-file-sharedir-install
author Hans-G?nter Theisgen
date Fri Dec 31 06:33:57 2021 +0100 (2021-12-31)
parents
children 34e801e0eb52
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/stm8flash/receipt	Fri Dec 31 06:33:57 2021 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="stm8flash"
     1.7 +VERSION="20170817"
     1.8 +GITHASH="e322a7a"
     1.9 +SHORT_DESC="program your stm8 devices with SWIM/stlinkv(1,2)"
    1.10 +LICENSE="GPL2"
    1.11 +CATEGORY="electronics"
    1.12 +MAINTAINER="psychomaniak@xakep.ru"
    1.13 +TARBALL="$GITHASH.tar.gz"
    1.14 +
    1.15 +WEB_SITE="https://github.com/vdudouyt/stm8flash"
    1.16 +WGET_URL="$WEB_SITE/archive/$TARBALL"
    1.17 +
    1.18 +DEPENDS="libusb"
    1.19 +BUILD_DEPENDS="libusb-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	make
    1.25 +	make DESTDIR=$DESTDIR install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/* $fs
    1.32 +}