# $Header: /magellan-cvs/smage/discover/discover-2.1.1-r1.smage2,v 1.2 2008/02/07 14:23:36 niro Exp $ PNAME="discover" PVER="2.1.1" PBUILD="r1" PCATEGORIE="sys-apps" STATE="testing" DESCRIPTION="Discover is a set of libraries and utilities for gathering and reporting information about a system's hardware." HOMEPAGE="http://alioth.debian.org/projects/pkg-discover/" DEPEND=">= net-misc/curl-7.14 >= dev-libs/expat-1.95 >= net-dns/libidn-0.5 >= sys-apps/discover-data-2" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://alioth.debian.org/frs/download.php/1752/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # disable docbook sed -i 's:docbook-to-man:echo:' doctools/docbook.mk || die # fix compilation on x86_64 sed -i '/curl_libs=.*sed/d' configure || die }