void-packages/srcpkgs/libltc/template

28 lines
743 B
Bash

# Template file for 'libltc'
pkgname=libltc
version=1.3.1
revision=2
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
post_install() {
vman doc/man/man3/ltc.h.3
}
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
vmove usr/share/man/man3
}
}