mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Added Tolmach recipe and patch
This commit is contained in:
50
haiku-apps/tolmach/tolmach-1.1.0.recipe
Normal file
50
haiku-apps/tolmach/tolmach-1.1.0.recipe
Normal file
@@ -0,0 +1,50 @@
|
||||
DESCRIPTION="This program is a dictionary for Haiku"
|
||||
SUMMARY="A dictionary for Haiku"
|
||||
COPYRIGHT="1999 Ivan V. Murasko"
|
||||
LICENSE="GNU GPL v2"
|
||||
HOMEPAGE="https://gitorious.org/desknotes/tolmach"
|
||||
SRC_URI="git+https://gitorious.org/desknotes/tolmach.git#dcddbac"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
tolmach = $portVersion
|
||||
app:tolmach = $portVersion
|
||||
lib:libfSub
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:mkdepend
|
||||
"
|
||||
|
||||
PATCHES="tolmach-1.1.0.patch"
|
||||
|
||||
USER_SETTINGS_FILES="
|
||||
settings/Tolmach_Preferences directory"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
architecture=`echo $buildArchitecture | sed 's/_/-/g'`
|
||||
|
||||
mkdir -p $appsDir/Tolmach $dataDir/Tolmach
|
||||
|
||||
cd objects.$architecture-release
|
||||
cp Tolmach $appsDir/Tolmach
|
||||
addAppDeskbarSymlink $appsDir/Tolmach/Tolmach
|
||||
|
||||
cd ../Dictionaries
|
||||
cp *.pgb $dataDir/Tolmach
|
||||
}
|
||||
Reference in New Issue
Block a user