devel rebuild
This commit is contained in:
@@ -6,17 +6,27 @@
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("Makefile", " -O ", " $(CFLAGS) ")
|
||||
#pisitools.dosed("makefile", " -O ", " $(CFLAGS) ")
|
||||
#shelltools.system("find . -type f -name \*.c -print0 | xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'")
|
||||
autotools.configure("--disable-dependency-tracking")
|
||||
|
||||
def build():
|
||||
autotools.make("clean")
|
||||
autotools.make('-j1 CC="%s" CFLAGS="%s"' % (get.CC(), get.CFLAGS()))
|
||||
autotools.make()
|
||||
#autotools.make('-j1 CC="%s" CFLAGS="%s"' % (get.CC(), get.CFLAGS()))
|
||||
|
||||
#def check():
|
||||
#autotools.make("check")
|
||||
|
||||
def install():
|
||||
pisitools.dobin("yacc")
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
#pisitools.dobin("yacc")
|
||||
|
||||
pisitools.dosym("/usr/bin/yacc", "/usr/bin/byacc")
|
||||
pisitools.dosym("/usr/share/man/man1/yacc.1", "/usr/share/man/man1/byacc.1")
|
||||
|
||||
pisitools.doman("yacc.1")
|
||||
#pisitools.doman("yacc.1")
|
||||
pisitools.dodoc("ACKNOWLEDGEMENTS", "NEW_FEATURES", "NOTES", "README*")
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
diff -Naur yacc-1.9.1-orig/skeleton.c yacc-1.9.1/skeleton.c
|
||||
--- yacc-1.9.1-orig/skeleton.c 2008-07-17 20:01:30.000000000 +0300
|
||||
+++ yacc-1.9.1/skeleton.c 2008-07-17 20:02:55.000000000 +0300
|
||||
diff -Naur yacc-1.9.1-orig/yaccpar.c yacc-1.9.1/yaccpar.c
|
||||
--- yacc-1.9.1-orig/yaccpar.c 2008-07-17 20:01:30.000000000 +0300
|
||||
+++ yacc-1.9.1/yaccpar.c 2008-07-17 20:02:55.000000000 +0300
|
||||
@@ -18,6 +18,7 @@
|
||||
"/*static char yysccsid[] = \"from: @(#)yaccpar 1.9 (Berkeley) 02/21/93\";*/",
|
||||
"static char yyrcsid[] = \"$Id: skeleton.c,v 1.2 1997/06/23 02:51:17 tdukes Exp $\";",
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Yacc: Yet Another Compiler-Compiler</Summary>
|
||||
<Description>Yacc provides a general tool for describing the input to a computer program. The Yacc user specifies the structures of his input, together with code to be invoked as each such structure is recognized. Yacc turns such a specification into a subroutine that handles the input process</Description>
|
||||
<Archive sha1sum="2e260fe53dca89719102d3b45aa7f3a0e2d810c2" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/yacc-1.9.1.tar.xz</Archive>
|
||||
<Archive sha1sum="ebdf2d1a8d1a558f8c2fb7cc372435ca0f5c21df" type="targz">ftp://ftp.invisible-island.net/byacc/byacc-20200910.tgz</Archive>
|
||||
<Patches>
|
||||
<Patch>mkstemp.patch</Patch>
|
||||
<Patch level="1">skeleton.c.diff</Patch>
|
||||
<Patch level="1">yacc-1.9.1-ia64.patch</Patch>
|
||||
<!-- <Patch>mkstemp.patch</Patch> -->
|
||||
<!-- <Patch level="1">skeleton.c.diff</Patch> -->
|
||||
<!-- <Patch level="1">yacc-1.9.1-ia64.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -30,6 +30,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2020-12-09</Date>
|
||||
<Version>2.0.20200910</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2019-12-26</Date>
|
||||
<Version>1.9.1</Version>
|
||||
|
||||
Reference in New Issue
Block a user