Created
February 19, 2017 04:17
-
-
Save anonymous/999bbd815d1eb5cadc676929b8e63383 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Mykola Dolhyi <0xb000@gmail.com> | |
pkgname=ignition-math | |
pkgver=3.0.0 | |
pkgrel=1 | |
pkgdesc="Math classes and functions for robot applications" | |
arch=('i686' 'x86_64') | |
url="http://ignitionrobotics.org/" | |
license=('Apache') | |
groups=('development') | |
depends=() | |
makedepends=('cmake' 'ruby-ronn' 'pkg-config>=0.28') | |
optdepends=() | |
provides=('ignition-math3') | |
conflicts=() | |
replaces=('ignition-math3') | |
source=("https://bitbucket.org/ignitionrobotics/ign-math/get/${pkgname}3_${pkgver}.tar.bz2") | |
sha256sums=('71fd3ff4a0e99d28f16e20c01ebff70d63ca22e8d7154e94a16b483fe1477cea') | |
_dir="ignitionrobotics-ign-math-a06d26055d07" | |
build() { | |
cd "$srcdir/$_dir" | |
mkdir -p build | |
cd build | |
# Configure build | |
cmake .. -DCMAKE_BUILD_TYPE="Release" \ | |
-DCMAKE_INSTALL_PREFIX="/usr" \ | |
-DCMAKE_INSTALL_LIBDIR="lib" \ | |
-DENABLE_TESTS_COMPILATION:BOOL=False | |
# Compile | |
make | |
} | |
package() { | |
cd "$srcdir/$_dir/build" | |
make DESTDIR="$pkgdir/" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment