summaryrefslogtreecommitdiff
path: root/repo/freetds/freetds.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/freetds/freetds.xibuild')
-rw-r--r--repo/freetds/freetds.xibuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/repo/freetds/freetds.xibuild b/repo/freetds/freetds.xibuild
new file mode 100644
index 0000000..e5b445e
--- /dev/null
+++ b/repo/freetds/freetds.xibuild
@@ -0,0 +1,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
+}
+