summaryrefslogblamecommitdiff
path: root/user/libdvdnav/APKBUILD
blob: d9fb2d5e477892b6842f41202052f68e550c2753 (plain) (tree)
1
2
3
4


                                              
            































                                                                                             
                                                                                                                                                                      
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: 
pkgname=libdvdnav
pkgver=6.0.1
pkgrel=0
pkgdesc="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"
subpackages="$pkgname-dev $pkgname-doc"
source="https://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="83a015821dacea702eb34abb7a940b9a263918a66fe711fe9a817754f25c2aa0afae3543b4d93673d1c93d3e7914e1b776c10ce50465516f4e3a3d419c15ad9f  libdvdnav-6.0.1.tar.bz2"