1SUMMARY="A conversion utility for EPOC32 (Psion) files"
2DESCRIPTION="The Psion 5(MX) has several built-in applications. They use their \
3own file formats to save data files. Psion has written file conversion \
4utilities for Windows 95, in the form of their PsiWin program. But there are \
5no conversion utilities for other operating systems. Also, Psion is not able \
6to or does not want to release enough data for others to write their own \
7conversion programs. At least, that is what I have gathered through the \
8newsgroups and from other sources.
9
10The Psion 5MX uses mostly the same file formats as the Psion 5; the conversion \
11utilities seem to work, though you might get a few additional warnings. Other \
12Psion PDAs might be supported too, and even other machines running EPOC32. The \
13Psion Series 3 uses EPOC16, and are not supported."
14HOMEPAGE="http://frodo.looijaard.name/project/psiconv/"
15COPYRIGHT="1999-2005  Frodo Looijaard"
16LICENSE="GNU GPL v2"
17REVISION="3"
18SOURCE_URI="http://frodo.looijaard.name/system/files/software/psiconv/psiconv-$portVersion.tar.gz"
19CHECKSUM_SHA256="6d51fe79b502a1e277bea275a574ae2db5b1b9d7daef703a8fa3635ae02a8bb0"
20PATCHES="psiconv-$portVersion.patchset"
21
22ARCHITECTURES="all"
23
24GLOBAL_WRITABLE_FILES="
25	settings/psiconv/psiconv.conf keep-old
26	settings/psiconv/psiconv.conf.eg keep-old
27	"
28
29PROVIDES="
30	psiconv = $portVersion
31	cmd:psiconv
32	cmd:psiconv_config
33	lib:libpsiconv = 6.4.2 compat >= 6
34	"
35REQUIRES="
36	haiku
37	"
38
39PROVIDES_devel="
40	psiconv_devel = $portVersion
41	devel:libpsiconv = 6.4.2 compat >= 6
42	"
43REQUIRES_devel="
44	psiconv == $portVersion base
45	"
46
47BUILD_REQUIRES="
48	haiku_devel
49	"
50BUILD_PREREQUIRES="
51	cmd:aclocal
52	cmd:autoconf
53	cmd:bc
54	cmd:gcc
55	cmd:libtoolize
56	cmd:make
57	"
58
59BUILD()
60{
61	libtoolize --force --copy --install
62	aclocal
63	automake --add-missing
64	autoconf
65	runConfigure ./configure --disable-static
66	make $jobArgs
67}
68
69INSTALL()
70{
71	make install
72
73	prepareInstalledDevelLib libpsiconv
74	packageEntries devel $developDir
75}
76