aboutsummaryrefslogtreecommitdiffstats
path: root/main/v86d/APKBUILD
blob: 0f533f838e109b996734c9a975523b5f16a9b9e4 (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.9
pkgrel=1
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="ebbbc8e7013c9544b6ba6981add43831  v86d-0.1.9.tar.bz2
2d7cc8dc6a41916a13869212d0191147  modprobe.uvesafb"