mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
101 lines
2.5 KiB
Bash
101 lines
2.5 KiB
Bash
SUMMARY="Apple Keynote import library"
|
|
DESCRIPTION="libetonyek is a library that parses the file format of Apple \
|
|
Keynote documents. It supports Keynote versions 2-5."
|
|
HOMEPAGE="http://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
|
|
COPYRIGHT="Fridrich Strba, David Tardon"
|
|
LICENSE="MPL v2.0"
|
|
REVISION="1"
|
|
SOURCE_URI="http://dev-www.libreoffice.org/src/libetonyek/libetonyek-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="032f53e8d7691e48a73ddbe74fa84c906ff6ff32a33e6ee2a935b6fdb6aecb78"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libetonyek$secondaryArchSuffix = $portVersion
|
|
cmd:numbers2csv$secondaryArchSuffix
|
|
cmd:pages2html$secondaryArchSuffix
|
|
cmd:key2raw$secondaryArchSuffix
|
|
cmd:numbers2raw$secondaryArchSuffix
|
|
cmd:pages2raw$secondaryArchSuffix
|
|
cmd:key2xhtml$secondaryArchSuffix
|
|
cmd:key2text$secondaryArchSuffix
|
|
cmd:numbers2text$secondaryArchSuffix
|
|
cmd:pages2text$secondaryArchSuffix
|
|
lib:libetonyek_0.1$secondaryArchSuffix = 1.0.6 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:liblangtag$secondaryArchSuffix
|
|
lib:librevenge_0.0$secondaryArchSuffix
|
|
lib:librevenge_generators_0.0$secondaryArchSuffix
|
|
lib:librevenge_stream_0.0$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libetonyek${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libetonyek_0.1$secondaryArchSuffix = 1.0.6 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libetonyek$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libboost_system$secondaryArchSuffix
|
|
devel:libboost_container$secondaryArchSuffix
|
|
devel:libcppunit$secondaryArchSuffix
|
|
devel:liblangtag$secondaryArchSuffix
|
|
devel:librevenge_0.0$secondaryArchSuffix
|
|
devel:librevenge_generators_0.0$secondaryArchSuffix
|
|
devel:librevenge_stream_0.0$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
glm${secondaryArchSuffix}_devel
|
|
mdds${secondaryArchSuffix}_devel == 1.0.0
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:libtoolize
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:autoheader
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:gperf
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoheader
|
|
automake -a -c --foreign
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# remove libtool file
|
|
rm $libDir/libetonyek-0.1.la
|
|
|
|
prepareInstalledDevelLibs libetonyek-0.1
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
# TODO: 1 test fails
|
|
make check
|
|
}
|