aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libmhash/APKBUILD
blob: 6b0a2ac181e263542ce7d0bb272b7ebb09af4a94 (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
35
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libmhash
pkgver=0.9.9.9
pkgrel=3
pkgdesc="Library which provides a uniform interface to a large number of hash algorithms"
url="https://mhash.sourceforge.net/"
arch="all"
license="LGPL-2.0-only and LGPL-2.1-or-later"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://downloads.sourceforge.net/project/mhash/mhash/$pkgver/mhash-$pkgver.tar.gz
	musl-fix-bool-includes.patch
	"
builddir="$srcdir/mhash-$pkgver"

prepare() {
	default_prepare

	update_config_sub
	update_config_guess
}

build() {
	./configure --prefix=/usr
	make
}

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

sha512sums="
82ad8b8e9b0463c5a14f5c0e572badc42c4697bac5505443b144287b3f8510b1410721b4277f092a0d6045c4342e997831011cdfcbfa8f1dae6edd5d9e3cefee  libmhash-0.9.9.9.tar.gz
848c687be7da956884b287ecf57d445c974db9421d1e3a6648837aa18ebe86ace1366e0863ba62a898010b56c85ffd2f8294aaa7744ed31cfcec67b0021cc731  musl-fix-bool-includes.patch
"