Files
haikuports/app-office/libreoffice/libreoffice-5.3.1.2.recipe
Jerome Duval 8e8cad563d libreoffice: add an initial broken recipe.
* can be used to pull dependencies.
2017-03-28 22:28:42 +02:00

158 lines
4.3 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SUMMARY="A full office productivity suite"
DESCRIPTION="LibreOffice is a powerful office suite its clean interface and \
feature-rich tools help you unleash your creativity and enhance your \
productivity.
LibreOffice includes several applications that make it the most powerful Free \
and Open Source office suite on the market."
HOMEPAGE="http://www.libreoffice.org/"
COPYRIGHT="??? ???"
LICENSE="GNU LGPL v3"
REVISION="1"
SOURCE_URI="https://download.documentfoundation.org/libreoffice/src/5.3.1/libreoffice-$portVersion.tar.xz"
CHECKSUM_SHA256="5746cd7ccaf64e51eb0fc07128e75cf145a32b318d572aba18855f14c10754ff"
#PATCHES="libreoffice-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 !x86 !x86_64"
SECONDARY_ARCHITECTURES="!x86"
PROVIDES="
libreoffice$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libreoffice${secondaryArchSuffix}_devel = $portVersion
"
REQUIRES_devel="
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
glm${secondaryArchSuffix}_devel
#devel:libboost_date_time$secondaryArchSuffix
#devel:libboost_filesystem$secondaryArchSuffix
#devel:libboost_iostreams$secondaryArchSuffix
#devel:libboost_system$secondaryArchSuffix
devel:libabw_0.1$secondaryArchSuffix
devel:libcdr_0.1$secondaryArchSuffix
devel:libcppunit$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libclucene_contribs_lib$secondaryArchSuffix
devel:libclucene_core$secondaryArchSuffix
devel:libetonyek_0.1$secondaryArchSuffix
devel:libexpat$secondaryArchSuffix
devel:libe_book_0.1$secondaryArchSuffix
devel:libfreehand_0.1$secondaryArchSuffix
devel:libglew$secondaryArchSuffix
devel:libgraphite2$secondaryArchSuffix
devel:libharfbuzz_icu$secondaryArchSuffix
devel:libhunspell_1.6$secondaryArchSuffix
devel:libhyphen$secondaryArchSuffix
devel:libicuuc$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:liblangtag$secondaryArchSuffix
devel:liblcms2$secondaryArchSuffix
devel:libldap$secondaryArchSuffix
devel:liblpsolve55$secondaryArchSuffix
devel:mdds$secondaryArchSuffix >= 1.2
devel:libmspub_0.1$secondaryArchSuffix
devel:libmwaw_0.3$secondaryArchSuffix
devel:libneon$secondaryArchSuffix
devel:libnss3$secondaryArchSuffix
devel:libodfgen_0.1$secondaryArchSuffix
devel:liborcus_0.12$secondaryArchSuffix
devel:libpagemaker_0.0$secondaryArchSuffix
devel:libpoppler$secondaryArchSuffix
devel:librevenge_0.0$secondaryArchSuffix
devel:libsane$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libstaroffice_0.0$secondaryArchSuffix
devel:libvisio_0.1$secondaryArchSuffix
devel:libwpd_0.10$secondaryArchSuffix
devel:libwpg_0.3$secondaryArchSuffix
devel:libwps_0.4$secondaryArchSuffix
devel:libxslt$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libzmf_0.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:bison
cmd:flex
cmd:gcc$secondaryArchSuffix
cmd:genbrk
cmd:genccode
cmd:gencmn
cmd:gperf
cmd:grep
cmd:ld$secondaryArchSuffix
cmd:make
cmd:patch
cmd:perl
cmd:pkg_config$secondaryArchSuffix
cmd:python2.7
cmd:python3.6
cmd:which
cmd:zip
"
BUILD()
{
./autogen.sh \
--with-vendor="HaikuPorts" \
--enable-release-build \
--prefix=$prefix --exec-prefix=$prefix \
--libdir=$libDir \
--with-java=no \
--enable-openssl \
--enable-orcus \
--enable-python=system \
--disable-avahi \
--disable-dbus \
--disable-gstreamer-0-10 \
--disable-telepathy \
--disable-dconf \
--with-system-libcdr \
--with-system-mdds \
--with-system-libvisio \
--without-system-libcmis \
--with-system-libmspub \
--without-system-libexttextcat \
--with-system-orcus \
--with-system-liblangtag \
--with-system-libodfgen \
--with-system-libmwaw \
--with-system-libetonyek \
--without-system-firebird \
--without-system-postgresql \
--without-system-odbc \
--with-system-libfreehand \
--with-system-libebook \
--with-system-libabw \
--without-system-coinmp \
--without-system-libgltf \
--with-system-libwpg \
--with-system-libwps \
--without-system-redland \
--with-system-libstaroffice \
--with-system-serf \
--without-system-boost\
--with-system-icu \
--with-system-cairo \
--with-system-libs \
--without-system-mythes \
--with-system-headers \
--with-alloc=system \
--with-system-clucene \
--disable-dependency-tracking \
--enable-fetch-external
make $jobArgs build
}
INSTALL()
{
make distro-pack-install
}