summaryrefslogtreecommitdiffstats
path: root/main/libxv/APKBUILD
blob: d66f33db525f565d970780b69c71fa4083b80118 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxv
pkgver=1.0.7
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
	rm "$pkgdir"/usr/lib/*.la || return 1
	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="5e1ac203ccd3ce3e89755ed1fbe75b0b  libXv-1.0.7.tar.bz2"