aboutsummaryrefslogblamecommitdiffstats
path: root/main/gdbm/APKBUILD
blob: 82536b13d76f8c8841eec6b5e8d83975f045082a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                           
                                                   
            
           
        
                                                                           
                                        
          
                          
                                       
                                                         
 
         

                                                                      



                                 

                                         
                                               

                                     

 
         

                  
 
           
                                      

 
                                                                                                                                                               
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gdbm
pkgver=1.19
pkgrel=0
pkgdesc="GNU dbm is a set of database routines that use extensible hashing"
url="https://www.gnu.org/software/gdbm/"
arch="all"
license="GPL-3.0-or-later"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/gdbm/gdbm-$pkgver.tar.gz"

build() {
	# we disable large-file due to it makes the db file non-compat
	# with gdbm-1.8.3
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-libgdbm-compat \
		--disable-largefile \
		--disable-dependency-tracking \
		--enable-fast-install
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="118c5b8cdf74898bfb7c2100302fedf80096be017bf08e80a44486563cad5d93b93567622f2e7c7aceb72f30460504bd0b4ddfccf34df994ed65166e12ecd495  gdbm-1.19.tar.gz"