0
0
Fork 0
haikuports/haiku-apps/tolmach/tolmach-1.1.0.recipe

50 lines
1.1 KiB
Bash

SUMMARY="A dictionary for Haiku"
DESCRIPTION="This program is a BeOS port of KDictionary translation program \
for Linux by Ivan V. Murasko. It follows the main concept of original linux \
program but mainly is a real BeOS program."
HOMEPAGE="https://github.com/HaikuArchives/tolmach"
COPYRIGHT="1999 Ivan V. Murasko"
LICENSE="GNU GPL v2"
REVISION="2"
srcGitRev="bef06da57cf34e43a428f3e95855bd77a959cb1d"
SOURCE_URI="https://github.com/HaikuArchives/tolmach/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="d37169523cdfaa4acc0e8c67c97943e74d70767d08671574948a28553a1f17f2"
SOURCE_DIR="Tolmach-$srcGitRev"
ARCHITECTURES="?all x86_gcc2 x86"
USER_SETTINGS_FILES="
settings/Tolmach_Preferences directory"
PROVIDES="
tolmach = $portVersion
app:Tolmach = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
BUILD()
{
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir $dataDir/Tolmach
cp objects/Tolmach $appsDir
cp Dictionaries/*.pgb $dataDir/Tolmach
addAppDeskbarSymlink $appsDir/Tolmach
}