aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdrm/APKBUILD
blob: 391320708e5e664eb598c329adbb05364ae7ee06 (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=libdrm
pkgver=2.4.24
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services"
url="http://dri.freedesktop.org/"
arch="all"
license="custom"
depends=
makedepends="pkgconfig libpthread-stubs udev-dev"
subpackages="$pkgname-dev"
source="http://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--enable-udev \
		--enable-nouveau-experimental-api || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="8d802bf3b368f9fac0d7d17516a9436f  libdrm-2.4.24.tar.bz2"