Skip to content
Permalink
8b6bb4fe9f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 54 lines (40 sloc) 1.18 KB
#!/usr/bin/env beesh
# BEE_VERSION gnudatalanguage-gdl-0.9.8-4
SRCURL[0]="https://github.com/gnudatalanguage/gdl/archive/v${PKGVERSION}.tar.gz"
# PATCHURL+=()
# EXCLUDE+=()
# build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
bee_configure \
-DOPENMP=OFF \
-DPSLIB=OFF \
-DCMAKE_COLOR_MAKEFILE=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DENABLE_DYNDRIVERS=OFF \
-DHDF=OFF \
-DPYTHON=OFF
}
# perhaps I wasn't clear about the libmpi topic ...
mee_build_pre() {
# no, you don't want to know why 'g' is needed, believe me ...
sed -i -e '/fopenmp/ s/-fopenmp//' -e '/lmpi_cxx/ s/-lmpi_cxx//g' -e '/lmpi/ s/-lmpi//g' ${B}/src/CMakeFiles/gdl.dir/link.txt
sed -i -e '/fopenmp/ s/-fopenmp//' ${B}/src/CMakeFiles/gdl.dir/flags.make
sed -i -e '/fopenmp/ s/-fopenmp//' ${B}/src/antlr/CMakeFiles/antlr.dir/flags.make
}
#mee_build() {
# bee_build
#}
#mee_install() {
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'
mee_install_post() {
rm -fv ${D}${DATAROOTDIR}/gnudatalanguage/lib/{README.txt,STATUS}
}