Browse Source

l/libofx: Upgraded to libofx-0.9.4.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
8ed205b553
  1. 17
      l/libofx/fix-gcc-4.3.3.diff
  2. 1
      l/libofx/libofx-0.9.1.tar.gz.sha1
  3. 1
      l/libofx/libofx-0.9.4.tar.gz.sha1
  4. 9
      l/libofx/libofx.SlackBuild

17
l/libofx/fix-gcc-4.3.3.diff

@ -1,17 +0,0 @@
diff -Naur libofx-0.9.0.orig/config.h.in libofx-0.9.0/config.h.in
--- libofx-0.9.0.orig/config.h.in 2007-11-19 20:22:40.000000000 +0100
+++ libofx-0.9.0/config.h.in 2009-08-30 23:02:47.495791731 +0200
@@ -171,3 +171,13 @@
/* Define curl_free() as free() if our version of curl lacks curl_free. */
#undef curl_free
+
+#ifdef __cplusplus
+#include <ctime>
+#include <cstdlib>
+#include <cstring>
+#else
+#include <time.h>
+#include <stdlib.h>
+#include <string.h>
+#endif

1
l/libofx/libofx-0.9.1.tar.gz.sha1

@ -1 +0,0 @@
a12110ddcbff596e26496865570fb4dcb75c08d0 libofx-0.9.1.tar.gz

1
l/libofx/libofx-0.9.4.tar.gz.sha1

@ -0,0 +1 @@
7370245c011ac4ea9313ba24a88c70e0eb9c317b libofx-0.9.4.tar.gz

9
l/libofx/libofx.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2009,2010 Damien Goutte-Gattat
# Copyright (C) 2008,2009,2010,2011 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,7 +29,7 @@
# Source package infos
NAMESRC=${NAMESRC:-libofx}
VERSION=${VERSION:-0.9.1}
VERSION=${VERSION:-0.9.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://downloads.sourceforge.net/libofx/$ARCHIVE}
@ -86,18 +86,21 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p1 < $CWD/fix-gcc-4.3.3.diff
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--disable-dependency-tracking \
--disable-static \
--docdir=/usr/doc/$NAME
make -j $JOBS
make install-strip DESTDIR=$PKG
# Compress man page
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Move the documentation to the right place
# (configure's --docdir is ignored, like always...)
mkdir -p $PKG/usr/doc

Loading…
Cancel
Save