mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
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.
50 lines
1.1 KiB
Bash
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
|
|
}
|