void-packages/srcpkgs/libtcd/template

24 lines
712 B
Bash

# Template file for 'libtcd'
pkgname=libtcd
version=2.2.7.r3
revision=1
_distver="${version%.*}"
_distrev="${version##*.}"
build_style=gnu-configure
short_desc="API for reading and writing Tide Constituent Database (TCD) files"
maintainer="Richard Taityr <dicktyr@yahoo.co.uk>"
license="Public Domain"
homepage="https://www.flaterco.com/xtide/files.html#libtcd"
distfiles="https://flaterco.com/files/xtide/libtcd-${_distver}-${_distrev}.tar.xz"
checksum=e1dde9aafb771eab57c676a99b4b79d61c6800990a0e72782bc20057a8a2d877
libtcd-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}