aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdbi/APKBUILD
blob: e1fd3f364efe61f4fc82f2d4138dfac69adfecf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=libdbi
pkgver=0.9.0
pkgrel=0
pkgdesc="Database independent abstraction layer for C"
url="http://libdbi.sourceforge.net/"
arch="all"
license="LGPL-2.0-or-later"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc $pkgname-dev"
source="https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
options=libtool

builddir=${srcdir}/${pkgname}-${pkgver}

build() {
	cd "$builddir"
	update_config_guess || return 1
	./configure --prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="05e2ceeac4bc85fbe40de8b4b22d9ab3  libdbi-0.9.0.tar.gz"
sha256sums="dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503  libdbi-0.9.0.tar.gz"
sha512sums="ee8777195af43057409d051a6055ec0467cd926d48da076458b09f91d2f0995a1cc4bc071762e401b7bdcd8a4173fd8ea3472db3a1518e34b4c5b5ed24e4e2ce  libdbi-0.9.0.tar.gz"