aboutsummaryrefslogtreecommitdiffstats
path: root/community/libdvbcsa/APKBUILD
blob: 63daeaee6edf9f385ff2cc28984f5c3d6b1004f1 (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
38
39
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=libdvbcsa
pkgver=1.1.0
pkgrel=1
pkgdesc="Free implementation of the DVB Common Scrambling Algorithm"
url="http://www.videolan.org/developers/libdvbcsa.html"
arch="all"
license="GPL"
subpackages="$pkgname-dev"
source="https://download.videolan.org/pub/videolan/libdvbcsa/$pkgver/libdvbcsa-$pkgver.tar.gz"


prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="f336bc90711261bb86bb42f897d5207a71da5a384bfb7d641de7e1fb3a43d20aeec250e9a5ceaf0b20f1e4335ccda70055675256c6889873bf1bfff55005a015  libdvbcsa-1.1.0.tar.gz"