void-packages/srcpkgs/lshw/template
2015-01-15 11:16:40 +00:00

24 lines
679 B
Text

# Template build file for 'lshw'.
pkgname=lshw
version=B.02.17
revision=1
build_style=gnu-makefile
makedepends="gtk+-devel libglade-devel sqlite-devel"
hostmakedepends="pkg-config"
short_desc="Hardware lister application"
maintainer="Enno Boland <eb@s01.de>"
homepage="http://ezix.org/project/wiki/HardwareLiSter"
license="GPL-2"
distfiles="http://ezix.org/software/files/lshw-${version}.tar.gz"
checksum=eb9cc053fa0f1e78685cb695596e73931bfb55d2377e3bc3b8b94aff4c5a489c
make_install_target="install install-gui"
gtk-lshw_package() {
depends+=" lshw"
short_desc+=" (GTK)"
pkg_install() {
vmove usr/share/lshw/artwork
vmove usr/share/lshw/ui
vmove usr/sbin/gtk-lshw
}
}