summaryrefslogtreecommitdiffstats
path: root/main/v86d/APKBUILD
blob: 2a15f0159bc2a8df0b82d29aff773b5b3e477f1c (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=v86d
pkgver=0.1.10
pkgrel=0
pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment"
url="http://dev.gentoo.org/~spock/projects/uvesafb/"
arch="all"
license="GPL2"
depends=""
makedepends="bash"
source="http://dev.gentoo.org/~spock/projects/uvesafb/archive/$pkgname-$pkgver.tar.bz2
	modprobe.uvesafb"

build () 
{ 
	cd "$srcdir"/v86d-$pkgver
	./configure --with-x86emu
	make || return 1
}

package() {
	cd "$srcdir"/v86d-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -D -m644 "$srcdir"/modprobe.uvesafb "$pkgdir"/etc/modprobe.d/uvesafb || return 1
}
md5sums="51c792ba7b874ad8c43f0d3da4cfabe0  v86d-0.1.10.tar.bz2
2d7cc8dc6a41916a13869212d0191147  modprobe.uvesafb"