Merge pull request #1234 from ayhanyalcinsoy/master
btyacc:deps for firebird
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "."
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("main.c", "len + 13", "len + 14")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
pisitools.dobin("btyacc")
|
||||
pisitools.newman("manpage", "btyacc.1")
|
||||
pisitools.dodoc("README*")
|
||||
@@ -0,0 +1,10 @@
|
||||
--- a/mstring.c
|
||||
+++ b/mstring.c
|
||||
@@ -1,6 +1,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
+#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include "mstring.h"
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
Respect CC, append to CFLAGS (but not -g), append to LDFLAGS, use system LD -jer
|
||||
|
||||
--- a/Makefile 1999-07-15 19:40:12.000000000 +0200
|
||||
+++ b/Makefile 2009-09-04 15:27:15.000000000 +0200
|
||||
@@ -8,14 +8,13 @@
|
||||
|
||||
HDRS = defs.h mstring.h
|
||||
|
||||
-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes
|
||||
+CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes
|
||||
|
||||
-LDFLAGS = -static
|
||||
+LDFLAGS += -static
|
||||
|
||||
LIBS =
|
||||
|
||||
-CC = gcc
|
||||
-LINKER = gcc
|
||||
+LINKER = $(CC)
|
||||
# LINKER = cl
|
||||
# CC = cl
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>btyacc</Name>
|
||||
<Homepage>http://www.siber.com/btyacc</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>freedist</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Backtracking YACC - modified from Berkeley YACC</Summary>
|
||||
<Description>This is original Berkeley Yacc modified to better fit production environment (and to have less bugs, too).</Description>
|
||||
<Archive sha1sum="4a70f78d9695fa1101c49ab1cdbfda5ab740c027" type="targz">http://www.siber.com/btyacc/btyacc-3-0.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">btyacc-3.0-includes.patch</Patch>
|
||||
<Patch level="1">btyacc-3.0-makefile.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>btyacc</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>3.0</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-13</Date>
|
||||
<Version>3.0</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-15</Date>
|
||||
<Version>3.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user