aboutsummaryrefslogtreecommitdiffstats
path: root/community/sparsehash/APKBUILD
blob: 5b0a3bd0d0c991fd9602fef7a7be754d9a35354e (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sparsehash
pkgver=2.0.4
pkgrel=0
pkgdesc="Library that contains several hash-map implementations"
url="https://github.com/sparsehash/sparsehash"
arch="all"
license="BSD-3-Clause"
subpackages="$pkgname-doc"
source="https://github.com/sparsehash/sparsehash/archive/sparsehash-$pkgver.tar.gz"
builddir="$srcdir"/sparsehash-sparsehash-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

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

sha512sums="40c007bc5814dd5f2bdacd5ec884bc5424f7126f182d4c7b34371f88b674456fc193b947fdd283dbd0c7eb044d8f06baf8caec6c93e73b1b587282b9026ea877  sparsehash-2.0.4.tar.gz"