diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-08 22:04:46 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-08 22:04:46 -0500 |
commit | 0fd621b332c6f53ad2ade7449fcd2e5dba51431f (patch) | |
tree | 34de23af29bb8cafbd03622b56240a6953c19f35 /user/freetds/APKBUILD | |
parent | 13ff07d4a57f6dc095d65c567bd4b92b34667b03 (diff) | |
download | packages-0fd621b332c6f53ad2ade7449fcd2e5dba51431f.tar.gz packages-0fd621b332c6f53ad2ade7449fcd2e5dba51431f.tar.bz2 packages-0fd621b332c6f53ad2ade7449fcd2e5dba51431f.tar.xz packages-0fd621b332c6f53ad2ade7449fcd2e5dba51431f.zip |
user/freetds: pull in, bump, take, fix
Diffstat (limited to 'user/freetds/APKBUILD')
-rw-r--r-- | user/freetds/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
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 <ms13sp@gmail.com> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +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" |