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 107 lines (87 sloc) 2.81 KB
#!/usr/bin/env beesh
# BEE_VERSION cherrytree-0.99.41-0
# more info: https://www.giuspen.com/cherrytree
# SRCURL[0]="https://www.giuspen.com/software/cherrytree_${PKGVERSION}.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/260c8376378540d174a2893e80629de3/cherrytree_0.99.41.tar.xz"
# SRCURL[1]="https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.7.tar.xz"
SRCURL[1]="https://beehive.molgen.mpg.de/623406dac5c5ad89e40eedd7f279efae/uchardet-0.0.7.tar.xz"
# SRCURL[2]="https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.tar.gz"
SRCURL[2]="https://beehive.molgen.mpg.de/7d5af964c6633ef90cd6a47be3afe6a0/fmt-8.0.1.tar.gz"
# SRCURL[3]="https://github.com/gabime/spdlog/archive/refs/tags/v1.9.2.tar.gz spdlog-1.9.2.tar.gz"
SRCURL[3]="https://beehive.molgen.mpg.de/cee7f3d31178a00791d7a22c6738df6d/spdlog-1.9.2.tar.gz"
#SRCURL[4]="https://download-fallback.gnome.org/sources/libxml%2B%2B/2.42/libxml%2B%2B-2.42.1.tar.xz"
SRCURL[4]="https://beehive.molgen.mpg.de/fba052e259e8d8beddbab423b5b3adcd/libxml%252B%252B-2.42.1.tar.xz"
# PATCHURL+=()
# build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure_pre() {
# uchardet
mkdir -p ${B}/urchadet
cd ${B}/urchadet
cmake \
-DCMAKE_INSTALL_PREFIX=${B}/extras \
-DCMAKE_INSTALL_LIBDIR=${B}/extras/lib \
-DCMAKE_COLOR_MAKEFILE=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DBUILD_SHARED_LIBS=OFF \
${S}/uchardet-0.0.7
make ${BEE_MAKEFLAGS}
make install
# fmt
mkdir -p ${B}/fmt
cd ${B}/fmt
cmake \
-DCMAKE_INSTALL_PREFIX=${B}/extras \
-DCMAKE_INSTALL_LIBDIR=${B}/extras/lib \
-DCMAKE_COLOR_MAKEFILE=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DBUILD_SHARED_LIBS=OFF \
-DFMT_DOC=OFF \
-DFMT_TEST=OFF \
${S}/fmt-8.0.1
make ${BEE_MAKEFLAGS}
make install
# spdlog
mkdir -p ${B}/spdlog
cd ${B}/spdlog
cmake \
-DCMAKE_INSTALL_PREFIX=${B}/extras \
-DCMAKE_INSTALL_LIBDIR=${B}/extras/lib \
-DCMAKE_COLOR_MAKEFILE=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DBUILD_SHARED_LIBS=OFF \
${S}/spdlog-1.9.2
make ${BEE_MAKEFLAGS}
make install
# libxml
mkdir -p ${B}/libxml
cd ${B}/libxml
# ${S}/libxml++-2.42.1/configure \
${S}/libxml++-2.42.1/autogen.sh \
--prefix=${B}/extras \
--disable-shared \
--disable-documentation
make ${BEE_MAKEFLAGS}
make install
cd ${B}
}
mee_configure() {
PKG_CONFIG_PATH=${B}/extras/lib/pkgconfig \
bee_configure \
-DUSE_NLS=OFF \
-DINSTALL_GTEST=OFF \
-DBUILD_TESTING=OFF \
-DCMAKE_EXE_LINKER_FLAGS="-L${B}/extras/lib"
}
#mee_build() {
# bee_build
#}
#mee_install() {
# bee_install
#}