aports/main/v86d/APKBUILD
2024-08-09 13:59:14 +00:00

32 lines
1.1 KiB
Text

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=v86d
pkgver=0.1.10
pkgrel=5
pkgdesc="Userspace helper for uvesafb that runs x86 code in an emulated environment"
url="https://github.com/mjanusz/v86d"
arch="x86 x86_64"
license="GPL-2.0-only"
makedepends="bash linux-headers"
source="v86d-$pkgver.tar.gz::https://github.com/mjanusz/v86d/archive/v86d-$pkgver.tar.gz
modprobe.uvesafb
gcc14.patch
"
builddir="$srcdir"/v86d-86d-$pkgver
options="!check"
build() {
./configure \
--with-x86emu
CFLAGS="$CFLAGS -fpermissive" make
}
package() {
make DESTDIR="$pkgdir" install
install -D -m644 "$srcdir"/modprobe.uvesafb "$pkgdir"/etc/modprobe.d/uvesafb
}
sha512sums="
148b1676d932d1207da396defeae0fc39b664139eca5f29be98ceedc33e89566f7c35057df93249303c8e2c1bff0427430a077f88a85997e62ea96c29b5db9d1 v86d-0.1.10.tar.gz
62531b3730d94c066890448318407d6de1ec17789e677e99a3e837bf6f66d6d19d0c89fc0ef3eb452726eb60938d590895a786b285a70ec98e85bffa270879ed modprobe.uvesafb
42126136d138682387a37685a8174b62c0100b898be7dea9dcc570a351d5f08c698c824e4b33ef1d4e0b54d6f93c1be6d693038c3ebf1dd53aa9cb8b017e1ad1 gcc14.patch
"