# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools python DESCRIPTION="Database management tools from Skype: WAL shipping, queueing, replication." HOMEPAGE="http://pgfoundry.org/projects/skytools/" SRC_URI="http://pgfoundry.org/frs/download.php/1940/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-db/postgresql-server-8.2 app-text/asciidoc" RDEPEND="${DEPENDS}" src_unpack(){ unpack ${A} cd ${S} eautoreconf } src_compile(){ econf || die emake || die } src_install(){ emake DESTDIR="${D}" install || die dodoc README NEWS cd ${S}/doc dodoc overview.txt } pkg_postinst(){ python_mod_optimize } pkg_postrm(){ python_mod_cleanup }