Skip to content
Permalink
master
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 56 lines (42 sloc) 1.29 KB
#!/usr/bin/env beesh
# BEE_VERSION gnudatalanguage-gdl-1.0.1-0
#SRCURL[0]="https://github.com/gnudatalanguage/gdl/archive/v${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/d2b21a3884e4a968f972617d46035c84/v1.0.1.tar.gz"
# PATCHURL+=()
# 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 \
-DGEOTIFF=OFF \
-DLIBPROJ=OFF \
-DUDUNITS2=OFF \
-DGRIB=OFF \
-DSHAPELIB=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
rm -fv ${D}${DATAROOTDIR}/gnudatalanguage/lib/{README.txt,STATUS}
}