# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ 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="amd64 x86" IUSE="mysql postgres" # Needs sgml2html to build documentation DEPEND="virtual/libc app-text/linuxdoc-tools net-firewall/iptables mysql? ( dev-db/mysql ) postgres? ( dev-db/postgresql-base )" 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 }