unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-20071116-acpixtract-pmtools.patch
epatch "${FILESDIR}"/${P}-acpixtract-pmtools.patch
epatch "${FILESDIR}"/${P}-cflags-ldflags.patch
sed -i.orig -e '/^CFLAGS/s, -s , ,' \
epatch "${FILESDIR}"/${P}-64bit.patch
-i.orig -e "s:-Os::g" \
acpidump/Makefile || die "sed failed"
strip-unsupported-flags
}