void-packages/srcpkgs/libltc/template
2020-01-26 21:52:34 +01:00

27 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
}
}