void-packages/srcpkgs/libltc/template

24 lines
697 B
Bash

# Template file for 'libltc'
pkgname=libltc
version=1.3.1
revision=1
build_style=gnu-configure
short_desc="Linear/Logitudinal Time Code (LTC) Library"
maintainer="bluntphenomena <gregwyd@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://x42.github.io/libltc/"
distfiles="https://github.com/x42/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=50e63eb3b767151bc0159a3cc5d426d03a42fd69029bc9b3b7c346555f4b709c
libltc-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vman doc/man/man3/ltc.h.3
}
}