summaryrefslogtreecommitdiffstats
path: root/main/libbluray/APKBUILD
blob: ac34d3f9c6ed53ce10ccae20652c60dd3a569f4a (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
# 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"
arch="x86 x86_64"
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"