#!/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 }