27 lines
730 B
Bash
27 lines
730 B
Bash
|
# Template file for 'libnova'
|
||
|
pkgname=libnova
|
||
|
version=0.15.0
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
hostmakedepends="autoconf automake libtool"
|
||
|
short_desc="A double precision astrometry and astrodynamics library"
|
||
|
maintainer="travankor <travankor@tuta.io>"
|
||
|
license="LGPL-2.0-or-later"
|
||
|
homepage="http://libnova.sourceforge.net/"
|
||
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||
|
checksum=7c5aa33e45a3e7118d77df05af7341e61784284f1e8d0d965307f1663f415bb1
|
||
|
|
||
|
pre_build() {
|
||
|
autoreconf -i
|
||
|
}
|
||
|
|
||
|
libnova-devel_package() {
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/bin/libnovaconfig
|
||
|
vmove usr/include
|
||
|
vmove "usr/lib/*.a"
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|