aboutsummaryrefslogblamecommitdiffstats
path: root/main/libdbi/APKBUILD
blob: 05118145fc0d23058390c80dd8df06f8cdd1322f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
                                                  





                                                      
                           




                                       
                                                                                                                         

               
                                       

         

                                       




                                 
                      


                                                  
                                                                                                                                                                  
# 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
}

sha512sums="ee8777195af43057409d051a6055ec0467cd926d48da076458b09f91d2f0995a1cc4bc071762e401b7bdcd8a4173fd8ea3472db3a1518e34b4c5b5ed24e4e2ce  libdbi-0.9.0.tar.gz"