S=${WORKDIR}/${P} DESCRIPTION="The debug memory or "dmalloc" library has been designed as a drop in replacement for the system's malloc, realloc, calloc, free and other memory management routines while providing powerful debugging facilities configurable at runtime." SRC_URI="http://dmalloc.com/releases/${P}.tgz" HOMEPAGE="http://dmalloc.com" DEPEND="virtual/glibc" src_compile () { echo "$S" ./configure --prefix=/usr \ --host=${CHOST} \ --enable-shared \ ${myconf} || die emake || die } src_install () { make prefix=${D}/usr \ install || die dodoc ChangeLog INSTALL NEWS NOTES README RELEASE.html TODO }