# Template file for 'libuninum'
pkgname=libuninum
version=2.7
revision=1
build_style=gnu-configure
makedepends="gmp-devel"
short_desc="Library for converting between numbers and strings"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="LGPL-2.1-only"
homepage="http://billposer.org/Software/libuninum.html"
distfiles="http://billposer.org/Software/Downloads/libuninum-${version}.tar.bz2"
checksum=e704983c3c00e9b76bd836b8b83ce31bfe4eb1752eee8be123cf97c1275076ea

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

numconv_package() {
	short_desc="Utility for converting between numbers and strings"
	license="GPL-2.0-only"
	pkg_install() {
		vmove usr/bin
		vmove usr/share
	}
}
