aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxv/APKBUILD
blob: 1af30b1966e1f4e615fbbe3d09954ae1a506c507 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxv
pkgver=1.0.6
pkgrel=0
pkgdesc="X11 Video extension library"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig libxext-dev libx11-dev videoproto"
source="http://xorg.freedesktop.org/releases/individual/lib/libXv-$pkgver.tar.bz2"

depends_dev="xproto videoproto libx11-dev libxext-dev"

build() {
	cd "$srcdir"/libXv-$pkgver
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$srcdir"/libXv-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="e292445a64b63e918bbc8b6aae6391dd  libXv-1.0.6.tar.bz2"