aboutsummaryrefslogtreecommitdiffstats
path: root/testing/w_scan2/APKBUILD
blob: 12f9802e29c1d323f36c950582ef8c189e2c34fa (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=w_scan2
pkgver=1.0.8
pkgrel=0
pkgdesc="Universal ATSC and DVB blind scanner"
url="https://github.com/stefantalpalaru/w_scan2"
arch="all"
license="GPL-2.0-or-later"
options="!check" # No test suite
replaces="w_scan"
makedepends="autoconf automake libtool linux-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/stefantalpalaru/w_scan2/archive/$pkgver.tar.gz
	musl-build-time-h-fix.patch
	"

prepare() {
	default_prepare
	autoreconf -vif
}

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

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

sha512sums="65b17e44699b5e2cd92bacb577f46de373b322ceffb53560750218fa7e80199e0b242d58586276cb8cbce86addfac25c12fd5455823fa52da0f7f98cd4f2efc4  w_scan2-1.0.8.tar.gz
ac4b08e7fcc6c9264a2b4acc5b0510ca0aeae760c676fc4e73a6d20cc009bdb29903d3cf967efb13a2e1d76f4aba2324bd6c3eca0b7495b3ab2a43ce6bf49ec9  musl-build-time-h-fix.patch"