summaryrefslogtreecommitdiffstats
path: root/extra/myodbc/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/myodbc/Pkgfile')
-rw-r--r--extra/myodbc/Pkgfile19
1 files changed, 19 insertions, 0 deletions
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
+}