DESCRIPTION="userspace logging facility for linux" HOMEPAGE="http://joker.linuxstuff.pl/specter/" SRC_URI="http://joker.linuxstuff.pl/specter/${PN}-${PV}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" IUSE="mysql postgres" DEPEND="virtual/libc net-firewall/iptables mysql? ( dev-db/mysql ) postgres? ( dev-db/postgresql )" src_compile() { econf `use_with mysql` `use_with postgres pgsql` || die "configure failed" emake || die "make failed" } src_install() { make DESTDIR=${D} install || die newinitd "${FILESDIR}"/specter.rc specter }