stlink: update to 1.3.0.

This commit is contained in:
bra1nwave 2017-01-29 16:16:06 +01:00
parent b525df8429
commit c37f69cd1e
3 changed files with 19 additions and 13 deletions

View file

@ -2767,3 +2767,4 @@ libgspell-1.so.1 gspell-1.0.0_1
libotf.so.0 libotf-0.9.13_1
libimagequant.so.0 libimagequant-2.8.2_1
libDOtherSide.so.0 dotherside-0.5.2_1
libstlink-shared.so.1 stlink-1.3.0_1

1
srcpkgs/stlink-devel Symbolic link
View file

@ -0,0 +1 @@
stlink

View file

@ -1,26 +1,30 @@
# Template file for 'stlink'
pkgname=stlink
version=1.2.0
version=1.3.0
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
build_style=cmake
configure_args="-DSTLINK_UDEV_RULES_DIR=/usr/lib/udev/rules.d -DSTLINK_MODPROBED_DIR=/usr/lib/modprobe.d"
hostmakedepends="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
}
checksum=3e8cba21744d2c38a0557f6835a05189e1b98202931bb0183d22efc462c893dd
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
vdoc README.md README
}
stlink-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}