New package: stlink-1.2.0

This commit is contained in:
bra1nwave 2017-01-18 15:50:51 +01:00
parent c0212721d2
commit 7880ca21da

26
srcpkgs/stlink/template Normal file
View file

@ -0,0 +1,26 @@
# Template file for 'stlink'
pkgname=stlink
version=1.2.0
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libusb-devel"
short_desc="STM32 discovery line Linux programmer"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="3-clause-BSD"
homepage="https://github.com/texane/stlink"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=acfdd52e350a61c14910f3c14b9ed232a79febcf35b38479b011d5cd2d4af688
pre_configure() {
./autogen.sh
}
post_install() {
vinstall 49-stlinkv1.rules 644 usr/lib/udev/rules.d
vinstall 49-stlinkv2-1.rules 644 usr/lib/udev/rules.d
vinstall 49-stlinkv2.rules 644 usr/lib/udev/rules.d
vinstall stlink_v1.modprobe.conf 644 usr/lib/modprobe.d
vlicense LICENSE
vdoc README
}