2019-06-28 01:07:53 +02:00
|
|
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
|
2015-08-10 23:03:47 +02:00
|
|
|
# Contributor: Mykola Dolhyi <0xb000@gmail.com>
|
|
|
|
pkgname=ignition-math
|
2020-01-15 03:59:39 +01:00
|
|
|
pkgver=6.4.0
|
2020-01-16 02:29:42 +01:00
|
|
|
pkgrel=2
|
2015-08-10 23:03:47 +02:00
|
|
|
pkgdesc="Math classes and functions for robot applications"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://ignitionrobotics.org/"
|
|
|
|
license=('Apache')
|
|
|
|
groups=('development')
|
2018-02-24 10:45:26 +01:00
|
|
|
depends=('gcc-libs')
|
2020-01-16 02:29:42 +01:00
|
|
|
makedepends=('ignition-cmake>=2' 'ruby<=2.7' 'ruby>=2.6')
|
|
|
|
optdepends=('eigen')
|
2015-08-10 23:03:47 +02:00
|
|
|
conflicts=()
|
2019-06-28 01:07:53 +02:00
|
|
|
source=("https://bitbucket.org/ignitionrobotics/ign-math/get/${pkgname}6_${pkgver}.tar.bz2")
|
2020-01-15 03:59:39 +01:00
|
|
|
sha256sums=('5463d2ee5202ad60965a613361c1b12e34d3a8c49ad9037b16120f89b0250745')
|
2015-08-10 23:03:47 +02:00
|
|
|
|
2020-01-15 03:59:39 +01:00
|
|
|
_dir="ignitionrobotics-ign-math-11bba67b3176"
|
2015-08-10 23:03:47 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$_dir"
|
|
|
|
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
# Configure build
|
|
|
|
cmake .. -DCMAKE_BUILD_TYPE="Release" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR="lib" \
|
2018-02-24 10:45:26 +01:00
|
|
|
-DBUILD_TESTING:BOOL=False
|
2015-08-10 23:03:47 +02:00
|
|
|
|
|
|
|
# Compile
|
2019-06-30 23:36:59 +02:00
|
|
|
make
|
2015-08-10 23:03:47 +02:00
|
|
|
}
|
|
|
|
|
2019-06-28 01:07:53 +02:00
|
|
|
#check() {
|
|
|
|
# cd "$srcdir/$_dir/build"
|
|
|
|
#
|
|
|
|
# cmake .. -DCMAKE_BUILD_TYPE="Release" \
|
|
|
|
# -DCMAKE_INSTALL_PREFIX="/usr" \
|
|
|
|
# -DCMAKE_INSTALL_LIBDIR="lib" \
|
|
|
|
# -DBUILD_TESTING:BOOL=True
|
|
|
|
#
|
|
|
|
# make
|
|
|
|
# make test
|
|
|
|
#}
|
2018-01-04 23:50:39 +01:00
|
|
|
|
2015-08-10 23:03:47 +02:00
|
|
|
package() {
|
|
|
|
cd "$srcdir/$_dir/build"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|