Added Aiksaurus 1.2.1 recipe and patch

This commit is contained in:
Theodore Kokkoris
2013-12-30 00:46:20 +00:00
parent 3434049c42
commit 76a5136326
2 changed files with 151 additions and 0 deletions

View 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
"