aboutsummaryrefslogtreecommitdiffstats
path: root/main/libestr/APKBUILD
blob: 46348b01c47de58b19b6c6d47b5b46620585bad1 (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
# Contributor: Uros
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=libestr
pkgver=0.1.11
pkgrel=2
pkgdesc="essentials for string handling (and a bit more)"
options="!check" # No testsuite
url="https://libestr.adiscon.com/"
arch="all"
license="LGPL-2.1-or-later"
subpackages="$pkgname-dev"
source="http://libestr.adiscon.com/files/download/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

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

sha512sums="0ab98c2fa4b58cf6fee89c88602725b8b5e8e5a171a6976cdd8cff4dfc1cd3e5b747868da74fccd1bca66b9fa524ceae1c4f1ad5ee653a44ff81df6916ab5328  libestr-0.1.11.tar.gz"