aboutsummaryrefslogtreecommitdiffstats
path: root/main/v86d/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/v86d/APKBUILD')
-rw-r--r--main/v86d/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/v86d/APKBUILD b/main/v86d/APKBUILD
new file mode 100644
index 0000000000..2a15f0159b
--- /dev/null
+++ b/main/v86d/APKBUILD
@@ -0,0 +1,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"