diff --git a/srcpkgs/lshw/template b/srcpkgs/lshw/template new file mode 100644 index 0000000000..a11a66ed50 --- /dev/null +++ b/srcpkgs/lshw/template @@ -0,0 +1,25 @@ +# Template build file for 'sysinfo'. +pkgname=lshw +version=B.02.17 +revision=1 +build_style=gnu-makefile +configure_args="--disable-static --enable-gsettings=yes" +makedepends="gtk+-devel libglade-devel sqlite-devel" +hostmakedepends="pkg-config" +short_desc="Hardware lister application" +maintainer="Enno Boland " +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 + } +}