aboutsummaryrefslogtreecommitdiffstats
path: root/main/libbluray/APKBUILD
blob: d3780291b47f84d53d01bcee812ac6a4cb4839a2 (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=1
pkgdesc="Blu-ray playback libraries"
url="http://git.videolan.org/?p=libbluray.git;a=summary"
arch="all"
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"