forked from haikuports/haikuports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aiksaurus-1.2.1.recipe
84 lines (71 loc) · 2.11 KB
/
aiksaurus-1.2.1.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
SUMMARY="A set of libraries and applications for Thesaurus"
DESCRIPTION="
Aiksaurus is a set of libraries and applications which provide a thesaurus \
(currently English only, based on Guttenburg's Moby thesaurus) using native \
GUI on several platforms:
* UNIX (GTK+ & Qt)
* Win32 & MacOSX (Cocoa)
The core library itself is platform-independent. The principal language is \
C++, with some use of Cocoa/ObjC++; wrappers are provided for C and Cocoa/ObjC."
HOMEPAGE="http://aiksaurus.sourceforge.net"
COPYRIGHT="2001-2002 Jared Davis
2001 Michael D. Pritchett"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://switch.dl.sourceforge.net/project/aiksaurus/aiksaurus/1.2.1/aiksaurus-1.2.1.tar.gz"
CHECKSUM_SHA256="1b62cb6351835217f3c229faba3182ba2aa0ab395849bb894dab422976dc8cf4"
PATCHES="aiksaurus-1.2.1.patch"
ARCHITECTURES="?all x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
aiksaurus$secondaryArchSuffix = $portVersion
cmd:aiksaurus$secondaryArchSuffix = $portVersion
cmd:caiksaurus$secondaryArchSuffix = $portVersion
lib:libAiksaurus_1.2$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
aiksaurus${secondaryArchSuffix}_devel = $portVersion
devel:aiksaurus$secondaryArchSuffix = $portVersion
devel:libAiksaurus$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
aiksaurus$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
# Automake complains about NEWS missing
touch NEWS
libtoolize --force --copy --install
# libtoolize is going to ask us to append the contents
# of some files to aclocal.m4
for i in m4/{libtool,lt{options,sugar,version,~obsolete}}.m4; do cat $i >> aclocal.m4; done
aclocal -I m4
autoconf
automake --add-missing
runConfigure ./configure --without-gtk --datadir=$dataDir
make
}
INSTALL()
{
make install
prepareInstalledDevelLib libAiksaurus
fixPkgconfig
packageEntries devel \
$developDir
}