# Template file for 'xosview'
pkgname=xosview
version=1.20
revision=1
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=5acbb90273e2473235d2fd63e1725dbef3eb217f09f3ed7b38b8c7fbbad144e1

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