summaryrefslogtreecommitdiffstats
path: root/extra/myodbc/Pkgfile
blob: 8821cee927f365d16af5eb6cc9ba0ed66481d045 (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: unixodbc,mysqlclient

name=myodbc
version=5.1.8
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
}