mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/libiodbc: new aport
This commit is contained in:
parent
c66a626156
commit
f797f6abdc
45
testing/libiodbc/APKBUILD
Normal file
45
testing/libiodbc/APKBUILD
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user