mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
yab and yab-IDE: bump version. (#1567)
This commit is contained in:
61
dev-lang/yab/yab-1.7.5.4.recipe
Normal file
61
dev-lang/yab/yab-1.7.5.4.recipe
Normal file
@@ -0,0 +1,61 @@
|
||||
SUMMARY="Extended version of the yabasic programming language"
|
||||
DESCRIPTION="yab is an extended version of yabasic, a BASIC programming \
|
||||
language, with special commands designed for Haiku."
|
||||
HOMEPAGE="http://yab.orgfree.com/"
|
||||
COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic)
|
||||
2006-2009 Jan Bungeroth (yab improvements)
|
||||
2013-2017 Jim Saxton (yab improvements)"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/bbjimmy/YAB/archive/1.7.5.4a.tar.gz"
|
||||
CHECKSUM_SHA256="56f871e74a86ea3f2ea0a69fbdc61aba028c4563f9d0fccd4f76e5f8e6adf30f"
|
||||
SOURCE_DIR="YAB-1.7.5.4a"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 !x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 !x86"
|
||||
|
||||
PROVIDES="
|
||||
yab = $portVersion
|
||||
cmd:yab = $portVersion
|
||||
lib:libyab = $portVersion
|
||||
devel:libyab = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= r1~alpha4_pm_hrev49976
|
||||
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:mkdepend
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p tmp
|
||||
cp -r src/* tmp
|
||||
cd tmp
|
||||
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
mkdir -p $libDir
|
||||
mkdir -p $appsDir/yab-IDE
|
||||
cp tmp/yab $binDir/
|
||||
cp tmp/libyab.so $libDir/
|
||||
cp -r src $appsDir/yab-IDE/src
|
||||
cp tmp/bison.h $appsDir/yab-IDE/src/
|
||||
cp -r Documentation $appsDir/yab-IDE/Documentation
|
||||
mkdir -p $documentationDir
|
||||
ln -s $appsDir/yab-IDE/Documentation $documentationDir/yab-1.7.5
|
||||
prepareInstalledDevelLibs libyab
|
||||
}
|
||||
Reference in New Issue
Block a user