aboutsummaryrefslogtreecommitdiffstats
path: root/main/unixodbc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/unixodbc/APKBUILD')
-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"