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 101 lines (80 sloc) 3.22 KB
#!/usr/bin/env beesh
#export BEE_TMP_TMPDIR=/scratch/local2 BEE_TMP_BUILDROOT=/scratch/local2/bee-root BEE_MAKEFLAGS='-j80'
# BEE_VERSION libreoffice-7.6.2.1-0
#SRCURL[0]="https://download.documentfoundation.org/libreoffice/src/${PKGVERSION[3]}/libreoffice-${PKGVERSION}.tar.xz"
#SRCURL[0]="https://beehive.molgen.mpg.de/17a8cc75753475b6e8ed7eda4ae66e43/libreoffice-7.5.7.1.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/13fca0b5df68b445340d7c5f8373e99c/libreoffice-7.6.2.1.tar.xz"
# from download Makefile.fetch tar -cf tarballs-${PKGVERSION}.tar source/external/tarballs
#SRCURL[1]="https://beehive.molgen.mpg.de/af267a5a83ef17e843a0a71f35e37f59/tarballs-7.5.7.1.tar"
SRCURL[1]="https://beehive.molgen.mpg.de/1958345c1501c9e8cd648fa4a16c33b1/tarballs-7.6.2.1.tar"
PATCHURL+=("https://beehive.molgen.mpg.de/7d4b97aa2077236456a837fc4c36ca7a/libassuan_autoheader.patch")
#PATCHURL+=("https://beehive.molgen.mpg.de/40fa10212ec76ad2fa19b144e7621cc6/fix_install_error.patch")
# build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
mee_extract_post() {
SRCURL[1]=
}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
p=/pkg/openjdk-17.0.2.8-0/profile; [ -e $p ] && . $p
p=/pkg/apache-ant-1.10.12-0/profile; [ -e $p ] && . $p
#checking for number of processors to use... ./configure: line 44675: test: -j80: integer expression expected
if [[ ${BEE_MAKEFLAGS:: 2} == "-j" ]]; then
LALA=${BEE_MAKEFLAGS: 2}
fi
${S}/autogen.sh \
--prefix=${PREFIX} \
--with-lang=de \
--with-vendor=MarIuX \
--with-help \
--with-jdk-home=/pkg/openjdk-17.0.2.8-0 \
--without-doxygen \
--without-junit \
--disable-dconf \
--disable-epm \
--disable-odk \
--disable-skia \
--disable-dependency-tracking \
--enable-release-build \
--enable-python=internal \
--with-system-cairo \
--with-system-curl \
--with-system-expat \
--with-system-icu \
--with-system-jpeg \
--with-system-lcms2 \
--with-system-libatomic_ops \
--with-system-libpng \
--with-system-libxml \
--with-system-nss \
--with-system-openldap \
--with-system-openssl \
--with-system-poppler \
--with-system-postgresql \
--with-system-zlib \
--with-parallelism=${LALA}
sed -i 's/all: check-if-root build/all: build/g' ${B}/Makefile
sed -i 's/bootstrap: check-if-root compilerplugins/all: compilerplugins/g' ${B}/Makefile
ln -s ${S}/src/libreoffice-help-${PKGVERSION}/helpcontent2 ${S}/helpcontent2
ln -s ${S}/src/libreoffice-translations-${PKGVERSION}/translations ${S}/translations
if [ -d ${TMPDIR}/Libreoffice ]; then
start_cmd rm -rf ${TMPDIR}/Libreoffice || exit 1
fi
}
mee_build() {
bee_build
# make ${BEE_MAKEFLAGS} check
}
mee_install() {
start_cmd make DESTDIR=${D} distro-pack-install
# message *[libreoffice] openoffice symlink not found* in helpdesk
start_cmd ln -sv ${D}${BINDIR}/libreoffice ${D}${BINDIR}/openoffice
for p in sbase sdraw simpress scalc smath swriter ; do
start_cmd ln -sv ${LIBDIR}/libreoffice/program/${p} ${D}${BINDIR}/${p}
done
}