summaryrefslogtreecommitdiff
path: root/repo/freetds/freetds.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/freetds/freetds.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
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
+}
+