From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- repo/freetds/freetds.xibuild | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 repo/freetds/freetds.xibuild (limited to 'repo/freetds/freetds.xibuild') 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 +} + -- cgit v1.2.1