# Contributor: ScrumpyJack # Maintainer: ScrumpyJack pkgname=libdbi pkgver=0.9.0 pkgrel=4 pkgdesc="Database independent abstraction layer for C" options="libtool" url="https://libdbi.sourceforge.net/" arch="all" license="LGPL-2.1-or-later" subpackages="$pkgname-doc $pkgname-dev" source="https://downloads.sourceforge.net/project/libdbi/libdbi/libdbi-$pkgver/libdbi-$pkgver.tar.gz" prepare() { default_prepare update_config_guess update_config_sub } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } package() { make DESTDIR="$pkgdir" install } sha512sums=" ee8777195af43057409d051a6055ec0467cd926d48da076458b09f91d2f0995a1cc4bc071762e401b7bdcd8a4173fd8ea3472db3a1518e34b4c5b5ed24e4e2ce libdbi-0.9.0.tar.gz "