aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdvdnav/APKBUILD
blob: fce00bc8b75c3d2a27ffda7f0509b5f068abbf2f (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
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libdvdnav
pkgver=5.0.3
pkgrel=1
pkgdesc="a library for sophisticated DVD navigation features"
url="http://dvdnav.mplayerhq.hu/"
arch="all"
license="GPL-2.0+"
depends=""
depends_dev="libdvdread-dev>=5.0.3"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"

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

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

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

sha512sums="d6d0519f654649bd65b3029224191e7d6acc893d94e8578e435d77b75327584e9f44410a062c1fc60c6211f5bea6b3971228d84de595808733ab7356980e0123  libdvdnav-5.0.3.tar.bz2"