5 pkgdesc="GeographicLib is a small set of C++ classes for performing conversions between geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates, for gravity (e.g., EGM2008), geoid height, and geomagnetic field (e.g., WMM2010) calculations, and for solving geodesic problems. It is a suitable replacement for the core functionality provided by geotrans."
7 url="http://geographiclib.sourceforge.net/"
10 makedepends=('gcc' 'make' 'cmake')
11 #conflicts=('tvoeradio-desktop-svn')
12 #provides=('tvoeradio-desktop')
13 #replaces=('tvoeradio-desktop-svn')
15 source=(http://citylan.dl.sourceforge.net/project/geographiclib/distrib/${_pkgname}-${pkgver}.tar.gz)
16 md5sums=('56b3b684e5f34268d155d70c964c99d2')
19 # cd $startdir/src/$pkgname-$pkgver/src
23 # make install || return 1
27 cd "${srcdir}/${_pkgname}-${pkgver}"
28 cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
33 cd "${srcdir}/${_pkgname}-${pkgver}"
34 make DESTDIR="${pkgdir}" install