dune: added package for NECSAVE.
This commit is contained in:
parent
699fa27067
commit
3496db07d2
37
rules/dune/default.bash
Normal file
37
rules/dune/default.bash
Normal file
@ -0,0 +1,37 @@
|
||||
version=\
|
||||
(
|
||||
'master'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'cmake/host'
|
||||
)
|
||||
|
||||
download()
|
||||
{
|
||||
git clone "git@github.com:LSTS/dune.git" dune &&
|
||||
cd dune && git checkout "$version" && cd - &&
|
||||
git clone "git@git.lsts.pt:dune-private.git" dune/private &&
|
||||
cd dune/private && git checkout "$version" && cd -
|
||||
}
|
||||
|
||||
configure()
|
||||
{
|
||||
$cmd_mkdir build &&
|
||||
cd build &&
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX="$cfg_dir_toolchain_sysroot/usr" \
|
||||
-DCROSS="$cmd_target_cc" \
|
||||
../dune
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make -C build
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make -C build install
|
||||
}
|
Reference in New Issue
Block a user