aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rtptools/APKBUILD
blob: e8e361c73ea89e7c235d7fee0a4d3579f853adad (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
31
32
33
34
35
36
37
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=rtptools
pkgver=1.22
pkgrel=0
pkgdesc="RTP Tools"
url="http://www.cs.columbia.edu/irt/software/rtptools/"
arch="all"
license="BSD-3"
makedepends="automake autoconf m4 libtool"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/columbia-irt/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	libtoolize --force && aclocal && autoconf --force && automake --force-missing --add-missing
}

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

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

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

sha512sums="17cfda22fab8323f491d9ded3df09b2441a4bcecdcba297e8aeb2c57136e5a670de7ce8302b9aa7ef71683e7ad285e7fc60f8ef400f7f6a792306b0c44cc2b14  rtptools-1.22.tar.gz"