Files
haikuports/haiku-apps/tolmach/tolmach-1.1.0.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

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
}