mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Added more requires to yab, but still not building.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
diff -urN yab-1.6/src/Makefile yab-1.6-haiku/src/Makefile
|
||||
--- yab-1.6/src/Makefile 2009-10-23 21:02:10.031195136 +0000
|
||||
+++ yab-1.6-haiku/src/Makefile 2011-06-01 16:17:53.000000000 +0000
|
||||
@@ -45,7 +45,7 @@
|
||||
##
|
||||
## Libraries
|
||||
##
|
||||
-LIBPATH = -L/boot/home/config/lib
|
||||
+LIBPATH = -L/$(shell finddir B_COMMON_LIB_DIRECTORY)
|
||||
#-L/boot/home/yab/CalendarControl.a
|
||||
LIB = -lncurses -lbe -lroot -ltranslation -ltracker -lmedia $(ZETALIB)
|
||||
|
||||
@@ -98,6 +98,7 @@
|
||||
main.o: main.c yabasic.h config.h
|
||||
$(GCC) $(GCC_OPT) -c main.c -o main.o
|
||||
flex.c: yabasic.flex
|
||||
+ chmod 755 ./flex
|
||||
./flex $(FLEXFLAGS) -t yabasic.flex >flex.c
|
||||
bison.c: yabasic.bison
|
||||
bison $(BISONFLAGS) --output-file bison.c yabasic.bison
|
||||
@@ -1,27 +0,0 @@
|
||||
--- apps/yab-1.7/src/Makefile 2012-01-24 07:55:38.018087936 -0800
|
||||
+++ /boot/home/Makefile 2013-10-21 14:17:35.131334144 -0700
|
||||
@@ -38,14 +38,14 @@
|
||||
## GCC Options
|
||||
##
|
||||
GCC = gcc
|
||||
-GCC_OPT = $(DBG) $(OPT) -I. -I/boot/home/config/include/ -I/boot/home/config/include/ncurses/ -DHAVE_CONFIG -DUNIX $(HAIKUOPT)
|
||||
+GCC_OPT = $(DBG) $(OPT) -I. -I/$(shell finddir B_SYSTEM_HEADERS_DIRECTORY) -DHAVE_CONFIG -DUNIX $(HAIKUOPT)
|
||||
GPP = g++
|
||||
GPP_OPT = $(DBG) $(OPT) -I. -DHAVE_CONFIG -DUNIX $(HAIKUOPT)
|
||||
|
||||
##
|
||||
## Libraries
|
||||
##
|
||||
-LIBPATH = -L/boot/home/config/lib
|
||||
+LIBPATH = -L/$(shell finddir B_SYSTEM_LIB_DIRECTORY)
|
||||
LIB = -lncurses -lbe -lroot -ltranslation -ltracker -lmedia -llocale
|
||||
|
||||
## flags for flex (-d for debugging)
|
||||
@@ -97,6 +97,7 @@
|
||||
main.o: main.c yabasic.h config.h
|
||||
$(GCC) $(GCC_OPT) -c main.c -o main.o
|
||||
flex.c: yabasic.flex
|
||||
+ chmod 755 ./flex
|
||||
./flex $(FLEXFLAGS) -t yabasic.flex >flex.c
|
||||
bison.c: yabasic.bison
|
||||
bison $(BISONFLAGS) --output-file bison.c yabasic.bison
|
||||
@@ -1,17 +1,17 @@
|
||||
SUMMARY="yab is an extended version of yabsic, a BASIC programming language"
|
||||
DESCRIPTION="yab is an extended version of yabasic, a BASIC programming language, with special commands designed for BeOS, Haiku and Zeta."
|
||||
HOMEPAGE="http://sourceforge.net/projects/yab-interpreter"
|
||||
SRC_URI="http://ports-space.haiku-files.org/source/yab-1.7.zip"
|
||||
DESCRIPTION="yab is an extended version of yabasic, a BASIC programming language, with special commands designed for BeOS, Haiku and Zeta."
|
||||
HOMEPAGE="http://sourceforge.net/projects/yab-interpreter"
|
||||
SRC_URI="git+https://github.com/HaikuArchives/Yab.git"
|
||||
REVISION="2"
|
||||
CHECKSUM_MD5="2b465895d9eb2e8383f035dd67b88a20"
|
||||
#CHECKSUM_MD5="2b465895d9eb2e8383f035dd67b88a20"
|
||||
LICENSE="Artistic
|
||||
GNU GPL v2"
|
||||
COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic)
|
||||
2006-2009 Jan Bungeroth (yab improvements)"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
SOURCE_DIR="yab-$portVersion"
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
#SOURCE_DIR="yab-$portVersion"
|
||||
|
||||
PROVIDES="
|
||||
cmd:yab
|
||||
@@ -20,32 +20,30 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:mkdepend
|
||||
cmd:perl
|
||||
makefile_engine
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
ls
|
||||
ls apps
|
||||
ls apps/yab-${portVersion}
|
||||
|
||||
cd apps/yab-${portVersion}/src
|
||||
make clean
|
||||
make
|
||||
cd src
|
||||
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
ls -r
|
||||
$YABDIR=`FINDDIR(B_APPS_DIRECTORY`/yab
|
||||
$YABDIR=$appsDir/yab
|
||||
mkdir -p ${YABDIR}
|
||||
cp -a ${YABDIR}apps/yab
|
||||
cp -a Documentation ${YABDIR}
|
||||
|
||||
Reference in New Issue
Block a user