diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-05-10 13:42:45 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-05-10 13:42:45 -0500 |
commit | f797f6abdca9f8895bcee21ab9eb5cebad20ee47 (patch) | |
tree | 9a99efd3a3acef2f6dd83faf505752e22d66893f | |
parent | c66a6261560242eed1ba9910ef5ff8000acbd735 (diff) | |
download | aports-f797f6abdca9f8895bcee21ab9eb5cebad20ee47.tar.bz2 aports-f797f6abdca9f8895bcee21ab9eb5cebad20ee47.tar.xz |
testing/libiodbc: new aport
-rw-r--r-- | testing/libiodbc/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/libiodbc/APKBUILD b/testing/libiodbc/APKBUILD new file mode 100644 index 0000000000..07a79ee377 --- /dev/null +++ b/testing/libiodbc/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=libiodbc +pkgver=3.52.7 +pkgrel=0 +pkgdesc="iODBC ODBC implementation" +url="http://www.iodbc.org/" +arch="all" +license="BSD" +depends= +depends_dev= +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.iodbc.org/downloads/iODBC/libiodbc-$pkgver.tar.gz" + +_builddir="$srcdir"/libiodbc-$pkgver +prepare() { + local i + 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 --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-gui \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="ddbd274cb31d65be6a78da58fc09079a libiodbc-3.52.7.tar.gz" |