# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Small utility for searching ebuilds in the Gentoo Linux portage system" HOMEPAGE="http://sourceforge.net/projects/portdb/" SRC_URI="mirror://sourceforge/portdb/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" IUSE="" src_compile() { econf || die "configure failed" emake || die "emake failed" } src_install() { make install DESTDIR=${D} || die "make install failed" } pkg_postinst() { einfo "Please run '/usr/bin/portagedb u' to setup the portage search database." }