summaryrefslogtreecommitdiffstats
path: root/main/libxxf86dga/APKBUILD
blob: be35b4e9d85e9fa42a94153eabc46e6f0022d215 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxxf86dga
pkgver=1.1.2
pkgrel=0
pkgdesc="X11 Direct Graphics Access extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig xf86dgaproto libxext-dev libx11-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXxf86dga-$pkgver.tar.bz2"

depends_dev="xf86dgaproto libxext-dev libx11-dev"
build() {
	cd "$srcdir"/libXxf86dga-$pkgver
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$srcdir"/libXxf86dga-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="bbd5fdf63d4c107c8cb710d4df2012b4  libXxf86dga-1.1.2.tar.bz2"