Commit 8c2d539d authored by Roberto Oliveira's avatar Roberto Oliveira

testing/sqliteodbc: upgrade to 0.9995 and modernize

parent e7620615
# Contributor: Robert Boisvert <rdboisvert@gmail.com>
# Maintainer: Robert Boisvert <rdboisvert@gmail.com>
pkgname=sqliteodbc
pkgver=0.9993
pkgver=0.9995
pkgrel=0
pkgdesc="SQLite ODBC driver"
url="http://www.ch-werner.de/sqliteodbc"
arch="all"
license="BSD"
makedepends="libtool sqlite-dev unixodbc-dev"
source="http://www.ch-werner.de/sqliteodbc/$pkgname-$pkgver.tar.gz"
url="http://www.ch-werner.de/sqliteodbc"
_builddir="$srcdir/$pkgname-$pkgver"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
cd "$builddir"
update_config_sub
}
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
--prefix=/usr
make
}
package() {
cd "$_builddir"
cd "$builddir"
mkdir -p "$pkgdir/usr/lib"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
rm $pkgdir/usr/lib/*.la $pkgdir/usr/lib/*.a
}
md5sums="2a418fa3465d285f75218b619345cd53 sqliteodbc-0.9993.tar.gz"
sha256sums="1a9a1abbd4387440a56b888113cebea6b39a832a16b456f355c71da69190fa35 sqliteodbc-0.9993.tar.gz"
sha512sums="aeacb8630eb84940f8c5da8da62ca9a9449995ae300072ec192262e80a89064fb608db0b6d05aad49938beb48d6bd30c0c4694bef8980ece76b4ed3e459039c4 sqliteodbc-0.9993.tar.gz"
sha512sums="21a9b1ae7f5b607de6d22478befdfaf55e1248f7e1e9984c9dea039bcdec2b69ade9ec92e31fcae2007652d6764b74a9a1cebae199fdc52afeca06a226de85d9 sqliteodbc-0.9995.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment