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

# source: james/debian
TARBALL=dmidecode_2.12.orig.tar.bz2
MD5SUM=a406f3cbb27736491698697beeddb781
SRC_URL=http://ftp.de.debian.org/debian/pool/main/d/dmidecode/$TARBALL
BUNDLE=

SLACKREQ='' 
SLACKDESC='dmidecode: dmidecode 2.12debian2 (System Information)  
dmidecode:  
dmidecode: Dmidecode reports information about the system'\''s hardware as 
dmidecode: described in the system BIOS according to the SMBIOS/DMI standard. 
dmidecode: This information typically includes system manufacturer, model 
dmidecode: name, serial number, BIOS version, asset tag as well as a lot of 
dmidecode: other details of varying level of interest and reliability 
dmidecode: depending on the manufacturer.  
dmidecode: 
dmidecode: 
dmidecode: 
'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/dmidecode* &&
	tar -xf $CHROOT_DIR/tmp/pkg/dmidecode_2.12-2.debian.tar.xz &&
	for p in $(cat debian/patches/series); do
		patch -Np1 -i debian/patches/$p
	done
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/dmidecode*
	make prefix=/usr && make prefix=/usr install &&
	pkg_build_slackdesc
}


