summaryrefslogtreecommitdiffstats
path: root/extra/myodbc/Pkgfile
blob: 9394e43bec51ce348384a63a670a211ae51d8528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Connecteur ODBC pour MySQL
# URL: http://www.mysql.com
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: unixodbc, mysqlclient
# Run on:

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
}