# Template file for 'libtcd'
pkgname=libtcd
version=2.2.7.r2
revision=1
_distver="${version%.*}"
_distrev="${version##*.}"
wrksrc="${pkgname}-${_distver}"
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="http://www.flaterco.com/xtide/files.html#libtcd"
distfiles="ftp://ftp.flaterco.com/xtide/${pkgname}-${_distver}-${_distrev}.tar.bz2"
checksum=aff1f218b84106c572d094912cd11c828e1ea212db5661cdcc0e2e6253020a94

libtcd-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
	}
}
