# Template file for 'libx86emu' pkgname=libx86emu version=3.7 revision=1 build_style=gnu-makefile make_check_target=test make_install_args="LIBDIR=/usr/lib${XBPS_TARGET_WORDSIZE}" checkdepends="perl nasm" short_desc="X86 emulation library" maintainer="meator " license="MIT" # Old Style with legal disclaimer homepage="https://github.com/wfeldt/libx86emu" distfiles="https://github.com/wfeldt/libx86emu/archive/refs/tags/${version}.tar.gz" checksum=03754aede79530baa0e862e1aad5527e9c1bd3371736b1ab5a2bc769e4a3d680 do_configure() { rm git2log echo ${version} > VERSION } post_install() { vlicense LICENSE } libx86emu-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.so" } }