mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
80 lines
2.0 KiB
Bash
80 lines
2.0 KiB
Bash
SUMMARY="EPUB generator for librevenge"
|
|
DESCRIPTION="libepubgen is an EPUB generator for librevenge. It supports \
|
|
librevenge's text document interface and--currently in a very limited \
|
|
way--presentation and vector drawing interfaces."
|
|
HOMEPAGE="https://sourceforge.net/projects/libepubgen"
|
|
COPYRIGHT="2016 David Tardon"
|
|
LICENSE="MPL v2.0"
|
|
REVISION="2"
|
|
SOURCE_URI="https://downloads.sourceforge.net/libepubgen/libepubgen-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="966f903626a5cea06e197e93d2b11c36c8ccc67655392dc8445856168bb9fe68"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libepubgen$secondaryArchSuffix = $portVersion compat >= 0
|
|
lib:libepubgen_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:librevenge_0.0$secondaryArchSuffix
|
|
lib:librevenge_generators_0.0$secondaryArchSuffix
|
|
lib:librevenge_stream_0.0$secondaryArchSuffix
|
|
lib:libboost_system$secondaryArchSuffix
|
|
lib:libcppunit$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libepubgen${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
|
devel:libepubgen_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libepubgen$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:librevenge_0.0$secondaryArchSuffix
|
|
devel:librevenge_generators_0.0$secondaryArchSuffix
|
|
devel:librevenge_stream_0.0$secondaryArchSuffix
|
|
devel:libboost_system$secondaryArchSuffix
|
|
devel:libcppunit$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoheader
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:diff
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure --without-docs --disable-werror
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libepubgen-0.0.la
|
|
|
|
prepareInstalledDevelLib libepubgen-0.0
|
|
fixPkgconfig
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|