blob: e5b445eba9565ef9347b182fed750e8de88e6392 (
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
27
28
29
30
31
32
33
34
35
|
#!/bin/sh
NAME="freetds"
DESC="Tabular Datastream Library"
MAKEDEPS="openssl linux-headers readline unixodbc"
PKG_VER=1.3.13
SOURCE="https://www.freetds.org/files/stable/freetds-$PKG_VER.tar.bz2"
ADDITIONAL="
fix-includes.patch
"
prepare () {
apply_patches
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-msdblib \
--with-openssl=/usr \
--enable-odbc \
--with-unixodbc=/usr
make
}
package() {
make -j1 DESTDIR="$PKG_DEST" install
}
|