# Template file for 'xosview'
pkgname=xosview
version=1.17
revision=2
build_style=gnu-makefile
makedepends="libXpm-devel"
short_desc="A classic system monitoring tool"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3"
homepage="http://www.pogo.org.uk/~mark/xosview"
distfiles="http://www.pogo.org.uk/~mark/xosview/releases/xosview-${version}.tar.gz"
checksum=640998e7bd23b875e2556a97b9149a4cca0ac255889f484489b13a888c19b3f1

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