genode/repos/libports/ports/x86emu.port
Christian Helmuth 1616295179 x86emu: download from xorg.freedesktop.org
ftp.x.org has not been available for a week now.
2016-01-26 16:20:36 +01:00

23 lines
817 B
Plaintext

LICENSE := MIT
VERSION := 1.12.0
DOWNLOADS := xserver.archive
URL(xserver) := http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-1.12.0.tar.bz2
SHA(xserver) := 5f48db767f71e9f58ded6ff356f3b8340820e524
DIR(xserver) := src/lib/x86emu/contrib
TAR_OPT(xserver) := --strip-components=4 xorg-server-$(VERSION)/hw/xfree86/x86emu
default: fix_cxx
# use sed to replace in a structure a member 'private' - reserved keyword in C++
fix_cxx: $(DOWNLOADS)
$(VERBOSE)sed -i 's/private;/private_ptr;/g' src/lib/x86emu/contrib/x86emu/regs.h
DIRS := include/x86emu include/x86emu/x86emu
DIR_CONTENT(include/x86emu) := src/lib/x86emu/contrib/x86emu.h
DIR_CONTENT(include/x86emu/x86emu) := src/lib/x86emu/contrib/x86emu/regs.h \
src/lib/x86emu/contrib/x86emu/types.h