summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/myodbc/.footprint15
-rw-r--r--extra/myodbc/.md5sum1
-rw-r--r--extra/myodbc/Pkgfile19
3 files changed, 35 insertions, 0 deletions
diff --git a/extra/myodbc/.footprint b/extra/myodbc/.footprint
new file mode 100644
index 000000000..e89f3cc28
--- /dev/null
+++ b/extra/myodbc/.footprint
@@ -0,0 +1,15 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/myodbc-installer
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libmyodbc5-5.1.6.so
+-rwxr-xr-x root/root usr/lib/libmyodbc5.la
+lrwxrwxrwx root/root usr/lib/libmyodbc5.so -> libmyodbc5-5.1.6.so
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/mysql-connector-odbc/
+-rw-r--r-- root/root usr/share/mysql-connector-odbc/ChangeLog
+-rw-r--r-- root/root usr/share/mysql-connector-odbc/INSTALL
+-rw-r--r-- root/root usr/share/mysql-connector-odbc/LICENSE.exceptions
+-rw-r--r-- root/root usr/share/mysql-connector-odbc/LICENSE.gpl
+-rw-r--r-- root/root usr/share/mysql-connector-odbc/README
+-rw-r--r-- root/root usr/share/mysql-connector-odbc/README.debug
diff --git a/extra/myodbc/.md5sum b/extra/myodbc/.md5sum
new file mode 100644
index 000000000..7f6adb34d
--- /dev/null
+++ b/extra/myodbc/.md5sum
@@ -0,0 +1 @@
+ed445092466be030f991b3a093649f45 mysql-connector-odbc-5.1.6.tar.gz
diff --git a/extra/myodbc/Pkgfile b/extra/myodbc/Pkgfile
new file mode 100644
index 000000000..b5d3a4a1d
--- /dev/null
+++ b/extra/myodbc/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Connecteur ODBC pour MySQL
+# URL: http://www.mysql.com
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: unixodbc, mysqlclient
+
+name=myodbc
+version=5.1.6
+release=1
+source=(http://mirror.switch.ch/mirror/mysql/Downloads/Connector-ODBC/5.1/mysql-connector-odbc-$version.tar.gz )
+
+build () {
+ cd mysql-connector-odbc-$version
+ [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --sysconfdir=/etc --with-unixODBC=/usr \
+ --with-mysql-path=/usr --without-x --disable-gui --enable-shared \
+ --disable-static
+ make
+ make DESTDIR=$PKG install
+}