Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions extra/ompl/APKBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Maintainer: Felix Lionardo <[email protected]>
pkgname=ompl
pkgver=1.7.0
_commit=348368ba116e9335e94fece0158948bf75bd159d
pkgrel=0
pkgdesc="The Open Motion Planning Library"
url="https://ompl.kavrakilab.org"
arch="all"
license="BSD-3-Clause"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="
cmake
ninja
boost-dev
eigen-dev
"
source="https://github.com/ompl/ompl/archive/$_commit.tar.gz"
builddir="$srcdir/ompl-$_commit"

build() {
cd "$builddir"

cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DOMPL_BUILD_TESTS=ON \
-DOMPL_BUILD_DEMOS=OFF \
-DOMPL_BUILD_PYBINDINGS=OFF \
-DOMPL_BUILD_PYTESTS=OFF

cmake --build build
}

package() {
cd "$builddir"
DESTDIR="$pkgdir" cmake --install build
}

check(){
ctest --test-dir build --output-on-failure
}

sha512sums="
5072657e2a8e9cce4888208a2221c8f62d55ea4801fae77aac83a8303fe124c9f2c3b9e4f50228ca78ebf3092b435255a82dbbb268679182d7199d67bab062db 348368ba116e9335e94fece0158948bf75bd159d.tar.gz
"