-
Notifications
You must be signed in to change notification settings - Fork 297
/
libepubgen-0.0.0.recipe
79 lines (70 loc) · 1.97 KB
/
libepubgen-0.0.0.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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
}