Skip to content
Permalink
cfce7a5f90
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 85 lines (68 sloc) 2.36 KB
#!/usr/bin/env beesh
# BEE_VERSION libreoffice-7.2.2.2-0
# SRCURL[0]="https://download.documentfoundation.org/libreoffice/src/${PKGVERSION[3]}/libreoffice-${PKGVERSION}.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/e99925407daf562d0a996b6812df718c/libreoffice-7.2.2.2.tar.xz"
# from download Makefile.fetch
# SRCURL[1]="https://beehive.molgen.mpg.de/e82420258eb92722652cbe6764365155/tarballs-6.1.6.3.tar"
SRCURL[1]="https://beehive.molgen.mpg.de/f3aac35cc060c5d6dd14477aa94ad16e/tarballs-7.2.2.2.tar"
# PATCHURL+=()
# build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
mee_extract_post() {
SRCURL[1]=
}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
. /pkg/jdk-9.0.1-0/profile
bee_configure \
--with-lang=de \
--with-help \
--with-jdk-home=/pkg/jdk-9.0.1-0 \
--with-ant-home=/package/mariux64/ant \
--without-doxygen \
--without-junit \
--disable-dconf \
--disable-epm \
--disable-odk \
--enable-release-build \
--enable-python=internal \
--with-system-apr \
--with-system-cairo \
--with-system-curl \
--with-system-expat \
--with-system-harfbuzz \
--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-serf \
--with-system-zlib
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-7.2.2.2/helpcontent2 ${S}/helpcontent2
ln -s ${S}/src/libreoffice-translations-7.2.2.2/translations ${S}/translations
}
mee_build() {
bee_build
# make ${BEE_MAKEFLAGS} check
}
mee_install() {
start_cmd make ${BEE_MAKEFLAGS} distro-pack-install DESTDIR=${D}
# 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
}