summaryrefslogblamecommitdiff
path: root/user/libdvdnav/APKBUILD
blob: d8350045f1c3f0cfb46f2635dbf266599c4f9013 (plain) (tree)




































                                                                                                                                                                      
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: 
pkgname=libdvdnav
pkgver=6.0.0
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="89d1e976d8f1cc92692e86e793403759b4d705682ba7418dcfd7dd3c38861238cead303fe4baa2059ebd7e9b82a77bbdbf32e50b20848e78939ee9e75d1b96d4  libdvdnav-6.0.0.tar.bz2"