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

50 lines
1.1 KiB
Bash
Raw Permalink Normal View History

2013-12-04 21:11:12 +00:00
SUMMARY="A dictionary for Haiku"
2017-10-27 13:54:11 +00:00
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"
2013-12-04 21:11:12 +00:00
COPYRIGHT="1999 Ivan V. Murasko"
LICENSE="GNU GPL v2"
2017-10-27 13:54:11 +00:00
REVISION="2"
srcGitRev="bef06da57cf34e43a428f3e95855bd77a959cb1d"
SOURCE_URI="https://github.com/HaikuArchives/tolmach/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="d37169523cdfaa4acc0e8c67c97943e74d70767d08671574948a28553a1f17f2"
SOURCE_DIR="Tolmach-$srcGitRev"
2014-12-23 08:36:29 +00:00
ARCHITECTURES="?all x86_gcc2 x86"
2014-12-23 08:36:29 +00:00
USER_SETTINGS_FILES="
settings/Tolmach_Preferences directory"
2013-12-04 21:11:12 +00:00
PROVIDES="
2014-12-23 08:36:29 +00:00
tolmach = $portVersion
app:Tolmach = $portVersion
"
REQUIRES="
2014-12-23 08:36:29 +00:00
haiku
"
2013-12-04 21:11:12 +00:00
BUILD_REQUIRES="
2014-12-23 08:36:29 +00:00
haiku_devel
"
2013-12-04 21:11:12 +00:00
BUILD_PREREQUIRES="
2014-12-23 08:36:29 +00:00
makefile_engine
cmd:gcc
cmd:make
"
2013-12-04 21:11:12 +00:00
BUILD()
{
2014-12-23 08:36:29 +00:00
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` OBJ_DIR=objects
2013-12-04 21:11:12 +00:00
}
2014-12-23 08:36:29 +00:00
2013-12-04 21:11:12 +00:00
INSTALL()
{
2014-12-23 08:36:29 +00:00
mkdir -p $appsDir $dataDir/Tolmach
cp objects/Tolmach $appsDir
cp Dictionaries/*.pgb $dataDir/Tolmach
2015-03-27 11:55:04 +00:00
addAppDeskbarSymlink $appsDir/Tolmach
2014-12-23 08:36:29 +00:00
}