Trying to actually use the eclass functions
This commit is contained in:
parent
20147d69a1
commit
7cf8171302
@ -84,7 +84,6 @@ src_configure() {
|
|||||||
#-DFETCHCONTENT_SOURCE_DIR_GTS="${WORKDIR}/${P}/gts-${GTS_HASH}"
|
#-DFETCHCONTENT_SOURCE_DIR_GTS="${WORKDIR}/${P}/gts-${GTS_HASH}"
|
||||||
#-DUSE_SYSTEM_GTS=OFF
|
#-DUSE_SYSTEM_GTS=OFF
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-GNinja
|
|
||||||
-DLIBDIR=/usr/$(get_libdir)
|
-DLIBDIR=/usr/$(get_libdir)
|
||||||
-DNIFTI_INSTALL_LIBRARY_DIR=/usr/$(get_libdir)
|
-DNIFTI_INSTALL_LIBRARY_DIR=/usr/$(get_libdir)
|
||||||
-DGIFTI_INSTALL_LIBRARY_DIR=/usr/$(get_libdir)
|
-DGIFTI_INSTALL_LIBRARY_DIR=/usr/$(get_libdir)
|
||||||
@ -101,10 +100,11 @@ src_configure() {
|
|||||||
-DCOMP_GUI=ON
|
-DCOMP_GUI=ON
|
||||||
-DCOMP_PLUGINS=ON
|
-DCOMP_PLUGINS=ON
|
||||||
-DUSE_OMP=ON
|
-DUSE_OMP=ON
|
||||||
-DCOMP_PYTHON=OFF
|
#-DCOMP_PYTHON=OFF
|
||||||
#-DCOMP_PYTHON=ON
|
-DCOMP_PYTHON=ON
|
||||||
-DPython_FIND_VIRTUALENV=STANDARD
|
#-DSTANDARD_PYTHON_INSTALL=OFF
|
||||||
-DPython_FIND_STRATEGY=LOCATION
|
#-DPython_FIND_VIRTUALENV=STANDARD
|
||||||
|
#-DPython_FIND_STRATEGY=LOCATION
|
||||||
-DUSE_SYSTEM_F2C=ON
|
-DUSE_SYSTEM_F2C=ON
|
||||||
)
|
)
|
||||||
#-DBUILD_SHARED_LIBS=OFF
|
#-DBUILD_SHARED_LIBS=OFF
|
||||||
@ -113,8 +113,11 @@ src_configure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
cd ../afni-9999_build
|
python_foreach_impl cmake_src_compile
|
||||||
eninja || die
|
#cmake_src_compile
|
||||||
|
#cd ../afni-9999_build
|
||||||
|
#default
|
||||||
|
#eninja || die
|
||||||
}
|
}
|
||||||
|
|
||||||
#/work/afni-9999/nifti_clib-65f801b9c2f1f15f4de4a19d45e6595c25765632
|
#/work/afni-9999/nifti_clib-65f801b9c2f1f15f4de4a19d45e6595c25765632
|
||||||
@ -125,5 +128,8 @@ src_install() {
|
|||||||
# File collision, upstream confirmation here:
|
# File collision, upstream confirmation here:
|
||||||
# https://github.com/afni/afni/issues/558#issuecomment-1887693900
|
# https://github.com/afni/afni/issues/558#issuecomment-1887693900
|
||||||
cd ${D}
|
cd ${D}
|
||||||
|
pwd
|
||||||
|
ls -lah
|
||||||
|
#exit
|
||||||
rm usr/bin/mpeg_encode
|
rm usr/bin/mpeg_encode
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user