aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i2util/APKBUILD
blob: 61f685342f7533d8059439e7d92a6b3f5059fc56 (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
36
37
38
39
40
41
42
# Contributor: Ariadne Conill <ariadne@dereferenced.org>
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname="i2util"
pkgver="4.2.1"
pkgrel=0
pkgdesc="Internet2 utility library"
url="https://github.com/perfsonar/i2util"
arch="all"
license="Apache-2.0"
depends=""
depends_dev=""
makedepends="$depends_dev autoconf automake libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/perfsonar/i2util/archive/v$pkgver/i2util-$pkgver.tar.gz"
builddir="$srcdir/i2util-$pkgver"

prepare() {
	cd "$builddir"
	sh bootstrap.sh
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="743ce52fb47637e1a6fafd00b00f0905007e5dd917325d946f6a4a6991eb4f711b883a05f1b79f1ea222146797df05cc779163f5cfd672c5a287cdea6de7cb1c  i2util-4.2.1.tar.gz"