aboutsummaryrefslogtreecommitdiffstats
path: root/main/v86d/APKBUILD
blob: 7e6ae9ede7464bc46b780cf19fb048cdbe50935e (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
28
29
30
31
# 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 \
		--build=$CBUILD \
		--host=$CHOST \
		--with-x86emu \
		|| return 1
	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"