# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest
inherit autotools eutils
DESCRIPTION="Cairo-dock is a kind of dock applet, which doesn't depend on any gnome package."
HOMEPAGE="http://developer.berlios.de/projects/cairo-dock/"
SRC_URI="http://download2.berlios.de/cairo-dock/cairo-dock-sources-${PV}.tar.bz2"
LICENSE="GPL"
SLOT="0"
KEYWORDS="amd64 ppc x86"
S="${WORKDIR}/opt/cairo-dock/trunk/cairo-dock"
src_unpack() {
unpack cairo-dock-sources-${PV}.tar.bz2
cd "${S}"
}
src_compile() {
eautoreconf || die "eautoreconf failed"
intltoolize --force --copy || die "intltoolize failed"
gnome2_src_compile
}
pkg_postinst() {
gnome2_pkg_postinst
}