aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxv/APKBUILD
blob: 65ad5df563ab3b539eae75f0dd38a776e52e4e5d (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="x86 x86_64"
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"