Merge pull request #5572 from bra1nwave/stlink
New package: stlink-1.2.0
This commit is contained in:
commit
58aeee65fa
1 changed files with 26 additions and 0 deletions
26
srcpkgs/stlink/template
Normal file
26
srcpkgs/stlink/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue