summaryrefslogtreecommitdiffstats
path: root/main/libbluray/APKBUILD
blob: 85ebd4d809947a2825740c0329ffca4821bc0bd5 (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
# Contributor: Carlo Landmeter 
# Maintainer: 
pkgname=libbluray
pkgver=20100902
pkgrel=0
pkgdesc="Blu-ray playback libraries"
url="http://git.videolan.org/?p=libbluray.git;a=summary"
license="GPL"
depends=
makedepends=
install=
subpackages="$pkgname-dev"
source="http://alpine.nethq.org/distfiles/libbluray-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname

prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

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

md5sums="c9ba7a906f5071affc347a6024f174d9  libbluray-20100902.tar.bz2"