From 0fd621b332c6f53ad2ade7449fcd2e5dba51431f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 8 Jul 2018 22:04:46 -0500 Subject: user/freetds: pull in, bump, take, fix --- user/freetds/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 user/freetds/APKBUILD (limited to 'user/freetds/APKBUILD') diff --git a/user/freetds/APKBUILD b/user/freetds/APKBUILD new file mode 100644 index 000000000..c90663bc4 --- /dev/null +++ b/user/freetds/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Michael Mason +# Maintainer: A. Wilcox +pkgname=freetds +pkgver=1.00.89 +pkgrel=0 +pkgdesc="Tabular Datastream Library" +url="http://www.freetds.org/" +arch="all" +license="LGPL-2.0+" +depends= +makedepends="linux-headers openssl-dev unixodbc-dev" +install= +subpackages="$pkgname-doc $pkgname-dev" +source="ftp://ftp.freetds.org/pub/freetds/stable/$pkgname-$pkgver.tar.gz + fix-includes.patch" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-msdblib \ + --with-openssl=/usr \ + --enable-odbc \ + --with-unixodbc=/usr + make +} + +check() { + cd "$builddir" + make -C "src/replacements" check +} + +package() { + cd "$builddir" + make -j1 DESTDIR="$pkgdir" install +} + +sha512sums="44d9257cf3b2e80f192c3ff7f7356d06b1995ccfc738273e2474ecb154fb4cd7502cc37f7894cc4ec91ef9871c41e718dd12b612bbe2d6d2d80b9024279ac3eb freetds-1.00.89.tar.gz +d75d1aab6687586697f3e430db1e82f21208f10076b45996542eea682e36cbbbb344f479a9336fcfd294b5b87d7acb2ec5fb8ddd1914e990e23dd5e7ae93a0b6 fix-includes.patch" -- cgit v1.2.3-70-g09d2