26 lines
757 B
Bash
26 lines
757 B
Bash
# 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
|
|
}
|