mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Added Aiksaurus 1.2.1 recipe and patch
This commit is contained in:
84
app-text/aiksaurus/aiksaurus-1.2.1.recipe
Normal file
84
app-text/aiksaurus/aiksaurus-1.2.1.recipe
Normal file
@@ -0,0 +1,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"
|
||||
SRC_URI="http://switch.dl.sourceforge.net/project/aiksaurus/aiksaurus/1.2.1/aiksaurus-1.2.1.tar.gz"
|
||||
CHECKSUM_MD5="3eae03b7c49843ccc9262e52846ea6b4"
|
||||
|
||||
REVISION="1"
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2001-2002 Jared Davis
|
||||
2001 Michael D. Pritchett
|
||||
"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
aiksaurus$secondaryArchSuffix = $portVersion
|
||||
lib:libAiksaurus_1.2$secondaryArchSuffix = $portVersion
|
||||
cmd:aiksaurus$secondaryArchSuffix = $portVersion
|
||||
cmd:caiksaurus$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PATCHES="aiksaurus-1.2.1.patch"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
aiksaurus${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:aiksaurus$secondaryArchSuffix = $portVersion
|
||||
devel:libAiksaurus$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
aiksaurus$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user