summaryrefslogtreecommitdiffstats
path: root/libraries/unixODBC
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/unixODBC')
-rw-r--r--libraries/unixODBC/README22
-rw-r--r--libraries/unixODBC/unixODBC.SlackBuild16
-rw-r--r--libraries/unixODBC/unixODBC.info10
3 files changed, 19 insertions, 29 deletions
diff --git a/libraries/unixODBC/README b/libraries/unixODBC/README
index edeae937a2..2782b91481 100644
--- a/libraries/unixODBC/README
+++ b/libraries/unixODBC/README
@@ -1,16 +1,6 @@
-The unixODBC Project goals are to develop and promote unixODBC to be the
-definitive standard for ODBC on non MS Windows platforms. This is to
-include GUI support for both KDE and GNOME. ODBC is an open specification
-for providing application developers with a predictable API with which to
-access Data Sources. Data Sources include SQL Servers and any Data Source
-with an ODBC Driver.
-
-This will be compiled without GUI support. If you want to give it a try,
-edit the build script and comment out the "--disable-gui" configure
-argument.
-
-Also, there is a seperate GUI frontend available separately from:
-http://www.unixodbc.org/gui/
-
-NOTE: This package conflicts with libiodbc in Slackware. Make sure to
-reinstall libiodbc if you remove this package.
+The unixODBC Project goals are to develop and promote unixODBC to be
+the definitive standard for ODBC on non MS Windows platforms. This is
+to include GUI support for both KDE and GNOME. ODBC is an open
+specification for providing application developers with a predictable
+API with which to access Data Sources. Data Sources include SQL
+Servers and any Data Source with an ODBC Driver.
diff --git a/libraries/unixODBC/unixODBC.SlackBuild b/libraries/unixODBC/unixODBC.SlackBuild
index 3bc6b0a9aa..9b50e90011 100644
--- a/libraries/unixODBC/unixODBC.SlackBuild
+++ b/libraries/unixODBC/unixODBC.SlackBuild
@@ -32,22 +32,19 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unixODBC
-VERSION=${VERSION:-2.3.7}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.3.12}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -57,8 +54,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -89,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --includedir=/usr/include/unixodbc \
--sysconfdir=/etc \
--disable-static \
--disable-gui \
@@ -116,6 +114,8 @@ cp -a AUTHORS COPYING README doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/libraries/unixODBC/unixODBC.info b/libraries/unixODBC/unixODBC.info
index 243f0a93a5..8d391aa611 100644
--- a/libraries/unixODBC/unixODBC.info
+++ b/libraries/unixODBC/unixODBC.info
@@ -1,10 +1,10 @@
PRGNAM="unixODBC"
-VERSION="2.3.7"
+VERSION="2.3.12"
HOMEPAGE="http://www.unixodbc.org/"
-DOWNLOAD="ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.7.tar.gz"
-MD5SUM="274a711b0c77394e052db6493840c6f9"
+DOWNLOAD="ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.12.tar.gz"
+MD5SUM="d62167d85bcb459c200c0e4b5a63ee48"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"
-MAINTAINER="Bob De Mars"
-EMAIL="mr.chew.baka@gmail.com"
+MAINTAINER="Fernando Lopez"
+EMAIL="fernando.lopezjr@gmail.com"