summaryrefslogtreecommitdiff
path: root/user/libdv/APKBUILD
blob: a1293771cb7221e88e879d403f122e8b24f10107 (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
40
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libdv
pkgver=1.0.0
pkgrel=0
pkgdesc="Quasar DV codec for digital camcorders"
url="http://libdv.sourceforge.net/"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="popt-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/libdv/libdv-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_sub
}

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

check() {
	make check
}

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

sha512sums="19887a6f452fa7da8924901ad841f5c4a434a3bde56c932ddb43717592aa744281e3a8ad220231e11d7e6bc3b0e704952a8324e5f85d4e088675edceeeca7dc8  libdv-1.0.0.tar.gz"