29 lines
821 B
Bash
29 lines
821 B
Bash
# Template file for 'libjaylink'
|
|
pkgname=libjaylink
|
|
version=0.2.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="libusb-devel"
|
|
short_desc="Library to access SEGGER J-Link and compatible devices"
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://gitlab.zapb.de/libjaylink/libjaylink"
|
|
distfiles="https://gitlab.zapb.de/libjaylink/libjaylink/-/archive/${version}/libjaylink-${version}.tar.gz"
|
|
checksum=ac10d03088a2f28ebfc0411f9e617433936220dc183050f2e429694dcadc4f2a
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
libjaylink-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|