-
Notifications
You must be signed in to change notification settings - Fork 303
/
libcdr-0.1.7.recipe
96 lines (86 loc) · 2.36 KB
/
libcdr-0.1.7.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
SUMMARY="A Corel Draw import library"
DESCRIPTION="libcdr is a library that parses the file format of CorelDRAW \
documents of all versions."
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
COPYRIGHT="Fridrich Strba, David Tardon"
LICENSE="MPL v2.0"
REVISION="2"
SOURCE_URI="http://dev-www.libreoffice.org/src/libcdr/libcdr-$portVersion.tar.bz2"
CHECKSUM_SHA256="ae613caeb7e0e539cbc1b08ea5169bddaed8d2021d25ef66b39ddc0aa72c2902"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libcdr$secondaryArchSuffix = $portVersion
cmd:cdr2raw$secondaryArchSuffix
cmd:cdr2text$secondaryArchSuffix
cmd:cdr2xhtml$secondaryArchSuffix
cmd:cmx2raw$secondaryArchSuffix
cmd:cmx2text$secondaryArchSuffix
cmd:cmx2xhtml$secondaryArchSuffix
lib:libcdr_0.1$secondaryArchSuffix = 1.0.7 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libicudata$secondaryArchSuffix
lib:libicui18n$secondaryArchSuffix
lib:libicuuc$secondaryArchSuffix
lib:liblcms2$secondaryArchSuffix
lib:librevenge_0.0$secondaryArchSuffix
lib:librevenge_generators_0.0$secondaryArchSuffix
lib:librevenge_stream_0.0$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
libcdr${secondaryArchSuffix}_devel = $portVersion
devel:libcdr_0.1$secondaryArchSuffix = 1.0.7 compat >= 1
"
REQUIRES_devel="
libcdr$secondaryArchSuffix == $portVersion base
devel:liblcms2$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_system$secondaryArchSuffix >= 1.83.0
devel:libcppunit$secondaryArchSuffix
devel:libicui18n$secondaryArchSuffix >= 74
devel:liblcms2$secondaryArchSuffix
devel:librevenge_0.0$secondaryArchSuffix
devel:librevenge_generators_0.0$secondaryArchSuffix
devel:librevenge_stream_0.0$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:autoheader
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:icu_config$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
libtoolize --force --copy --install
aclocal
autoheader
automake -a -c --foreign
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libcdr-0.1.la
prepareInstalledDevelLibs libcdr-0.1
fixPkgconfig
packageEntries devel $developDir
}
TEST()
{
make check
}