summaryrefslogtreecommitdiff
path: root/repo/unixodbc/unixodbc.xibuild
blob: b1aa749ed39e05c3a7797e55cb0216dab313bfd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

NAME="unixodbc"
DESC="ODBC is an open specification to access Data Sources"

MAKEDEPS=" readline"

PKG_VER=2.3.9
SOURCE="http://www.unixodbc.org/unixODBC-$PKG_VER.tar.gz"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls \
		--enable-gui=no \
		--enable-static
	make
}

package() {
	make -j1 DESTDIR="$PKG_DEST" install
}