# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A small and simple personal WikiWikiWeb" HOMEPAGE="http://didiwiki.org/" SRC_URI="http://didiwiki.org/sources/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" src_compile() { econf --prefix=/usr || die "econf failed" emake || die "emake failed" } src_install() { dobin src/didiwiki dodoc AUTHORS ChangeLog README TODO COPYING newinitd "${FILESDIR}"/${P}.rc didiwiki newconfd "${FILESDIR}"/${P}.conf didiwiki } pkg_postinst() { if has_version "<${CATEGORY}/${P}" ; then elog "delete ~/.didiwiki/WikiHelp to get the latest Help file." fi }