aboutsummaryrefslogtreecommitdiffstats
path: root/main/libbluray/APKBUILD
blob: 748ddb82ac1b11b1f154577a7fdf30bb96216293 (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
38
# Contributor: Carlo Landmeter 
# Maintainer: 
pkgname=libbluray
pkgver=20100902
pkgrel=2
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
	rm "$pkgdir"/usr/lib/*.la
}

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