aboutsummaryrefslogtreecommitdiffstats
path: root/main/libestr/APKBUILD
blob: f8886f8649f31396f92d57c6c8c31275585e6593 (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
# Contributor: Uros
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=libestr
pkgver=0.1.11
pkgrel=0
pkgdesc="essentials for string handling (and a bit more)"
options="!check" # No testsuite
url="http://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() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

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

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