summaryrefslogtreecommitdiffstats
path: root/main/libxv/APKBUILD
blob: 334daeb5a284a3870dcb0e8e24b7943901f3447d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxv
pkgver=1.0.6
pkgrel=0
pkgdesc="X11 Video extension library"
url="http://xorg.freedesktop.org/"
arch="all"
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"