void-packages/srcpkgs/libx86emu/template

33 lines
811 B
Bash

# Template file for 'libx86emu'
pkgname=libx86emu
version=3.5
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 <meator.dev@gmail.com>"
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=91da55f5da55017d5a80e2364de30f9520aa8df2744ff587a09ba58d6e3536c8
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"
}
}