### this file is sourced not run
PKGVER=2.16debian2
PKGBUILD=1
PKGARCH=x86_64

# source: james/debian
TARBALL=lshw_02.16.orig.tar.gz
MD5SUM=67479167add605e8f001097c30e96d0d
SRC_URL=http://ftp.de.debian.org/debian/pool/main/l/lshw/$TARBALL
BUNDLE=

SLACKREQ='' 
SLACKDESC='lshw: lshw 2.16debian1 (System information)  
lshw:  
lshw: A small tool to provide detailed information on the hardware 
lshw: configuration of the machine. It can report exact memory configuration, 
lshw: firmware version, mainboard configuration, CPU version and speed, cache 
lshw: configuration, bus speed, etc. on DMI-capable x86 systems, on some 
lshw: PowerPC machines (PowerMac G4 is known to work) and AMD64. Information 
lshw: can be output in plain text, HTML or XML.  
lshw: 
lshw: 
lshw: 
'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/lshw* &&
	zcat $CHROOT_DIR/tmp/pkg/lshw_02.16-2.diff.gz | patch -Np1 &&
	for p in $(cat debian/patches/series); do
		patch -Np1 -i debian/patches/$p
	done
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/lshw*
	make $MAKEFLAGS && make install &&
	pkg_build_slackdesc
}


