aboutsummaryrefslogtreecommitdiffstats
path: root/main/unixodbc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-03 15:49:37 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-20 10:01:08 +0000
commit64bbaf5e1e7d9fc98eed883cffde927187895210 (patch)
treebf5fad19b3aa0b20a1373073b7708f45d9c33baa /main/unixodbc
parent18e8f1634237e09569220118ded2aced8959c69d (diff)
downloadaports-64bbaf5e1e7d9fc98eed883cffde927187895210.tar.gz
aports-64bbaf5e1e7d9fc98eed883cffde927187895210.tar.bz2
aports-64bbaf5e1e7d9fc98eed883cffde927187895210.tar.xz
main/unixodbc: modernise, mark as having no test suite
Diffstat (limited to 'main/unixodbc')
-rw-r--r--main/unixodbc/APKBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/main/unixodbc/APKBUILD b/main/unixodbc/APKBUILD
index 18db1e4515..0525c1c19f 100644
--- a/main/unixodbc/APKBUILD
+++ b/main/unixodbc/APKBUILD
@@ -2,24 +2,27 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=unixodbc
pkgver=2.3.4
-pkgrel=1
+pkgrel=2
pkgdesc="ODBC is an open specification to access Data Sources"
url="http://www.unixodbc.org/"
arch="all"
license="LGPL2+"
+options="!check" # No test suite.
depends=""
makedepends="readline-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-${pkgver}.tar.gz"
-_builddir="$srcdir/unixODBC-$pkgver"
+builddir="$srcdir/unixODBC-$pkgver"
+
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,14 +31,13 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls \
- --enable-gui=no \
- || return 1
- make || return 1
+ --enable-gui=no
+ make
}
package() {
- cd "$_builddir"
- make -j1 DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" install
}
md5sums="bd25d261ca1808c947cb687e2034be81 unixODBC-2.3.4.tar.gz"