85 lines
2.1 KiB
Bash
85 lines
2.1 KiB
Bash
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
|
|
}
|