summaryrefslogtreecommitdiffstats
path: root/extra/myodbc/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-23 00:37:12 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-23 00:37:12 +0100
commit4bf94ce498b2e1a0f2c01679621ed489549063b4 (patch)
treee00771ebb8f8d1c49ec1ae91e861def219f86f5d /extra/myodbc/Pkgfile
parent325b70faaf5853f803573fac44d7dd9616004c64 (diff)
downloadnutyx-extra-4bf94ce498b2e1a0f2c01679621ed489549063b4.tar.gz
nutyx-extra-4bf94ce498b2e1a0f2c01679621ed489549063b4.tar.bz2
nutyx-extra-4bf94ce498b2e1a0f2c01679621ed489549063b4.tar.xz
nutyx-extra-4bf94ce498b2e1a0f2c01679621ed489549063b4.zip
Ajout de myodbc#5.1.6-1
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
+}