aboutsummaryrefslogblamecommitdiffstats
path: root/main/libvdpau/APKBUILD
blob: 63f2472d8f8f5997fdd23d4d2763b0a4ce59c3a4 (plain) (tree)
1
2
3
4
5
6
7
8






                                                     
          






























                                                                                    
# Contributor: Carlo Landmeter
# Maintainer: 
pkgname=libvdpau
pkgver=0.4
pkgrel=0
pkgdesc="Nvidia VDPAU library"
url="http://cgit.freedesktop.org/~aplattner/libvdpau"
arch="all"
license="custom"
depends=
makedepends="libx11-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${pkgver}.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

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
	install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
	install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}

md5sums="06da6f81ad37708b33a20ed177a44d81  libvdpau-0.4.tar.gz"