mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
49 lines
1.1 KiB
Bash
49 lines
1.1 KiB
Bash
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
|
|
}
|