41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=unixodbc
|
|
pkgver=2.3.11
|
|
pkgrel=01
|
|
pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources"
|
|
arch=('x86_64')
|
|
url="http://www.unixodbc.org/"
|
|
backup=('etc/odbc.ini' 'etc/odbcinst.ini')
|
|
depends=('readline' 'libltdl')
|
|
source=(ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-$pkgver.tar.gz)
|
|
|
|
build() {
|
|
cd unixODBC-${pkgver}
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd unixODBC-${pkgver}
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd unixODBC-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
touch "$pkgdir"/etc/{odbc,odbcinst}.ini
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('GPL2' 'LGPL2.1')
|
|
|
|
sha256sums=(d9e55c8e7118347e3c66c87338856dad1516b490fb7c756c1562a2c267c73b5c) # unixODBC-2.3.11.tar.gz
|
|
|
|
|