summaryrefslogtreecommitdiffstats
path: root/main/libxv/APKBUILD
blob: 301e4b9cd9cc6b2e7f2f2e419319b35944ae5aa4 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxv
pkgver=1.0.5
pkgrel=3
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="1d97798b1d8bbf8d9085e1b223a0738f  libXv-1.0.5.tar.bz2"