diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-12-11 07:29:38 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-12-11 07:29:38 +0000 |
commit | cbff56a34c6ae9c7c6033db3dd7179faba893c06 (patch) | |
tree | 28cc0d24668ebbcb3f14c305c2bdbd9d97a45de9 /main/freetds/APKBUILD | |
parent | f92e6a55c2a442d6ef70c7aae1b0b1cae3a496f6 (diff) | |
download | aports-cbff56a34c6ae9c7c6033db3dd7179faba893c06.tar.bz2 aports-cbff56a34c6ae9c7c6033db3dd7179faba893c06.tar.xz |
main/freetds: update to 1.00.80, modernize
Diffstat (limited to 'main/freetds/APKBUILD')
-rw-r--r-- | main/freetds/APKBUILD | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/main/freetds/APKBUILD b/main/freetds/APKBUILD index 32508f0dee..f705cd744b 100644 --- a/main/freetds/APKBUILD +++ b/main/freetds/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=freetds -pkgver=1.00.79 +pkgver=1.00.80 pkgrel=0 pkgdesc="Tabular Datastream Library" url="http://www.freetds.org/" @@ -15,15 +15,6 @@ source="ftp://ftp.freetds.org/pub/freetds/stable/$pkgname-$pkgver.tar.gz fix-includes.patch" builddir="$srcdir/$pkgname-$pkgver" -prepare() { - cd "$builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - build() { cd "$builddir" ./configure \ @@ -33,15 +24,14 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --enable-msdblib \ - || return 1 - make || return 1 + --enable-msdblib + make } package() { cd "$builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 + make -j1 DESTDIR="$pkgdir" install } -sha512sums="423577e0b96abc3a0f9fcf3b53b186917c8334a387464cda24072fe3e42306903ebb969137317da5495f30821d12a84f56255091a774485dbf8790d2b0ef9e46 freetds-1.00.79.tar.gz +sha512sums="68d219d5a8231b639a2f1bf91fae02f3a9dc9ccfaf3969675211b35cafc99dbc7c5f6706d8fe611613753ca27e2b521f0129a8e2b679da51d2ea674cd9e92d5e freetds-1.00.80.tar.gz d75d1aab6687586697f3e430db1e82f21208f10076b45996542eea682e36cbbbb344f479a9336fcfd294b5b87d7acb2ec5fb8ddd1914e990e23dd5e7ae93a0b6 fix-includes.patch" |