libofx ported from pisi 1.2 and check

This commit is contained in:
groni
2015-10-19 15:25:36 +02:00
parent 308d17be61
commit 05f0c3ebed
4 changed files with 141 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/python
# -*- 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 get
def setup():
autotools.autoreconf("-fi")
autotools.configure("--disable-static \
--disable-gengetopt")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
@@ -0,0 +1,11 @@
diff -ruN libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp libofx-0.9.5/ofxconnect/ofxpartner.cpp
--- libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp 2011-03-31 00:30:50.000000000 +0200
+++ libofx-0.9.5/ofxconnect/ofxpartner.cpp 2012-06-30 21:57:35.747989782 +0200
@@ -37,6 +37,7 @@
#include <vector>
#include <algorithm>
#include <string.h>
+#include <unistd.h>
using std::string;
using std::vector;
+91
View File
@@ -0,0 +1,91 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libofx</Name>
<Homepage>http://libofx.sourceforge.net</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>A library for supporting Open Financial Exchange (OFX) format</Summary>
<Description>libofx is a library designed to allow applications to very easily support OFX command responses, usually provided by financial institutions.</Description>
<Archive sha1sum="33f394c963c087217cb6c508af842d4844bc0823" type="targz">http://sourceforge.net/projects/libofx/files/libofx/0.9.10/libofx-0.9.10.tar.gz</Archive>
<BuildDependencies>
<Dependency>opensp-devel</Dependency>
</BuildDependencies>
<Patches>
<!--<Patch level="1">libofx-assorted-c++-fu.patch</Patch>-->
<Patch level="1">libofx-0.9.5-gcc47.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libofx</Name>
<RuntimeDependencies>
<Dependency>opensp</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/libofx</Path>
<Path fileType="man">/usr/share/man/man1</Path>
</Files>
</Package>
<Package>
<Name>libofx-devel</Name>
<Summary>Development files for libofx</Summary>
<RuntimeDependencies>
<Dependency release="current">libofx</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>libofx-docs</Name>
<Summary>Documentation for libofx</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/libofx/html</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-02-06</Date>
<Version>0.9.10</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-28</Date>
<Version>0.9.5</Version>
<Comment>Dep Fixed</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-02-19</Date>
<Version>0.9.5</Version>
<Comment>Updated.</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-13</Date>
<Version>0.9.1</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libofx</Name>
<Summary xml:lang="tr">Açık Finansal Takas (OXF) dosya biçimi kitaplığı</Summary>
<Description xml:lang="tr">libofx, uygulamaların finansal kuruluşlar tarafından sağlanan OFX yapılarını desteklemesini sağlayan bir kitaplıktır.</Description>
</Source>
<Package>
<Name>libofx-docs</Name>
<Summary xml:lang="tr">libofx için belgelendirme</Summary>
</Package>
<Package>
<Name>libofx-devel</Name>
<Summary xml:lang="tr">libofx için geliştirme dosyaları</Summary>
</Package>
</PISI>