# HG changeset patch # User Eric Joseph-Alexandre # Date 1297093234 -3600 # Node ID 9af1fe7ff6a89c311319e32b765086f9b495b90a # Parent 315e0bf472ea11e5d210b7569467a23f8f7b051b Add: libofx*' diff -r 315e0bf472ea -r 9af1fe7ff6a8 libofx/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libofx/receipt Mon Feb 07 16:40:34 2011 +0100 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="libofx" +VERSION="0.9.1" +CATEGORY="misc" +SHORT_DESC="OFX parser library" +MAINTAINER="remyhr@free.fr" +DEPENDS="opensp" +BUILD_DEPENDS="slitaz-toolchain opensp-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://libofx.sourceforge.net/" +WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + patch -p1 -i ../stuff/libofx-0.9.1-include-cxx-headers.patch + ./configure --prefix=/usr $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/include /usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib $fs/usr + +} diff -r 315e0bf472ea -r 9af1fe7ff6a8 libofx/stuff/libofx-0.9.1-include-cxx-headers.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libofx/stuff/libofx-0.9.1-include-cxx-headers.patch Mon Feb 07 16:40:34 2011 +0100 @@ -0,0 +1,82 @@ +diff -ur libofx-0.9.1-orig/lib/ofx_container_transaction.cpp libofx-0.9.1-patched/lib/ofx_container_transaction.cpp +--- libofx-0.9.1-orig/lib/ofx_container_transaction.cpp 2007-11-09 23:13:21.000000000 +0000 ++++ libofx-0.9.1-patched/lib/ofx_container_transaction.cpp 2009-11-01 06:29:05.536051464 +0000 +@@ -22,6 +22,7 @@ + #endif + + #include ++#include + #include "messages.hh" + #include "libofx.h" + #include "ofx_containers.hh" +diff -ur libofx-0.9.1-orig/lib/ofx_request.cpp libofx-0.9.1-patched/lib/ofx_request.cpp +--- libofx-0.9.1-orig/lib/ofx_request.cpp 2007-10-28 03:01:38.000000000 +0000 ++++ libofx-0.9.1-patched/lib/ofx_request.cpp 2009-11-01 06:29:22.034801091 +0000 +@@ -22,6 +22,7 @@ + #endif + + #include ++#include + #include "messages.hh" + #include "libofx.h" + #include "ofx_request.hh" +diff -ur libofx-0.9.1-orig/lib/ofx_request_accountinfo.cpp libofx-0.9.1-patched/lib/ofx_request_accountinfo.cpp +--- libofx-0.9.1-orig/lib/ofx_request_accountinfo.cpp 2007-10-28 03:01:38.000000000 +0000 ++++ libofx-0.9.1-patched/lib/ofx_request_accountinfo.cpp 2009-11-01 06:29:38.054801212 +0000 +@@ -22,6 +22,7 @@ + #endif + + #include ++#include + #include "libofx.h" + #include "ofx_request_accountinfo.hh" + +diff -ur libofx-0.9.1-orig/lib/ofx_request_statement.cpp libofx-0.9.1-patched/lib/ofx_request_statement.cpp +--- libofx-0.9.1-orig/lib/ofx_request_statement.cpp 2007-10-28 03:01:38.000000000 +0000 ++++ libofx-0.9.1-patched/lib/ofx_request_statement.cpp 2009-11-01 06:29:54.464800978 +0000 +@@ -22,6 +22,7 @@ + #endif + + #include ++#include + #include "libofx.h" + #include "ofx_utilities.hh" + #include "ofx_request_statement.hh" +diff -ur libofx-0.9.1-orig/lib/ofx_utilities.cpp libofx-0.9.1-patched/lib/ofx_utilities.cpp +--- libofx-0.9.1-orig/lib/ofx_utilities.cpp 2007-10-27 13:15:58.000000000 +0100 ++++ libofx-0.9.1-patched/lib/ofx_utilities.cpp 2009-11-01 06:28:38.574801207 +0000 +@@ -18,10 +18,11 @@ + #include + #include + #include ++#include + + #include "ParserEventGeneratorKit.h" + #include "SGMLApplication.h" +-#include ++#include + #include + #include + #include "messages.hh" +diff -ur libofx-0.9.1-orig/ofxdump/ofxdump.cpp libofx-0.9.1-patched/ofxdump/ofxdump.cpp +--- libofx-0.9.1-orig/ofxdump/ofxdump.cpp 2006-08-02 05:19:22.000000000 +0100 ++++ libofx-0.9.1-patched/ofxdump/ofxdump.cpp 2009-11-01 06:31:23.564801519 +0000 +@@ -27,12 +27,14 @@ + * (at your option) any later version. * + * * + ***************************************************************************/ ++#include /* Include config constants, e.g., VERSION TF */ + #include + #include + #include + #include "libofx.h" +-#include /* for printf() */ +-#include /* Include config constants, e.g., VERSION TF */ ++#include ++#include /* for printf() */ ++#include + #include + + #include "cmdline.h" /* Gengetopt generated parser */ + +