Created
March 20, 2017 13:59
-
-
Save nylocx/0e37fe78cb34d354ca60e06f2e767089 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-math2') | |
conflicts=() | |
replaces=('ignition-math2') | |
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