From 347dbe9e99ae840406698462336b366562e21af7 Mon Sep 17 00:00:00 2001 From: Vrondir Date: Thu, 12 Dec 2019 16:37:59 +0200 Subject: [PATCH] Add recipe for Lingua (#4424) --- haiku-apps/lingua/lingua-2.0.0.recipe | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 haiku-apps/lingua/lingua-2.0.0.recipe diff --git a/haiku-apps/lingua/lingua-2.0.0.recipe b/haiku-apps/lingua/lingua-2.0.0.recipe new file mode 100644 index 000000000..a4c523c93 --- /dev/null +++ b/haiku-apps/lingua/lingua-2.0.0.recipe @@ -0,0 +1,48 @@ +SUMMARY="A multiple language translation utility" +DESCRIPTION="Lingua is a multiple language translation utility. \ +It translates simple words and phrases to and from English \ +into several languages, including Latin, German, Dutch, Italian, French etc." +HOMEPAGE="https://github.com/HaikuArchives/Lingua" +COPYRIGHT="The Aevum Network authors" +LICENSE="GNU GPL v2" +REVISION="1" +srcGitRev="246414192994f9ef8f7d1afcaa705b5e80045c7b" +SOURCE_URI="https://github.com/HaikuArchives/Lingua/archive/$srcGitRev.tar.gz" +CHECKSUM_SHA256="1c1b68d219c44b0f3df33246169211057dd67d62d2b5117c2effcbb984161c5a" +SOURCE_FILENAME="Lingua-$srcGitRev.tar.gz" +SOURCE_DIR="Lingua-$srcGitRev" + +ARCHITECTURES="x86_gcc2 !x86 !x86_64" + +PROVIDES=" + lingua = $portVersion + app:Lingua = $portVersion + " +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:gcc + cmd:make + " + +defineDebugInfoPackage lingua \ + $appsDir/Lingua/Lingua + +BUILD() +{ + cd src + make $jobArgs +} + +INSTALL() +{ + mkdir -p $appsDir/Lingua + cp src/Lingua $appsDir/Lingua + cp -rf {dicts,docs} $appsDir/Lingua + addAppDeskbarSymlink $appsDir/Lingua/Lingua +}