# Template file for 'xosview'
pkgname=xosview
version=1.25
revision=1
build_style=gnu-makefile
makedepends="libXpm-devel"
short_desc="Classic system monitoring tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.pogo.org.uk/~mark/xosview"
distfiles="https://www.pogo.org.uk/~mark/xosview/releases/xosview-${version}.tar.gz"
checksum=e5f5ec03a0611397f8aafd07f05d4763726d9911139d9e267c5f308af9a6955b

case "$XBPS_TARGET_MACHINE" in
	*-musl)	# does not have asm/io.h
		;;
	*)	CFLAGS="-DHAVE_ASM_IO_H=1"
		;;
esac
