diff options
Diffstat (limited to 'x11-wm/awesome/awesome-2.2_rc2.ebuild')
-rw-r--r-- | x11-wm/awesome/awesome-2.2_rc2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-wm/awesome/awesome-2.2_rc2.ebuild b/x11-wm/awesome/awesome-2.2_rc2.ebuild new file mode 100644 index 000000000000..b2c313f0a3dd --- /dev/null +++ b/x11-wm/awesome/awesome-2.2_rc2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-2.2_rc2.ebuild,v 1.1 2008/02/25 16:51:52 matsuu Exp $ + +inherit toolchain-funcs eutils + +MY_P="${P/_rc/-rc}" +DESCRIPTION="awesome is a window manager initialy based on a dwm code rewriting" +HOMEPAGE="http://awesome.naquadah.org/" +SRC_URI="http://awesome.naquadah.org/download/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/confuse-2.6 + x11-libs/cairo + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft + x11-libs/libXrandr + x11-libs/libXinerama" + +DEPEND="${RDEPEND} + app-text/asciidoc + app-text/xmlto + app-doc/doxygen + dev-util/pkgconfig + x11-proto/xineramaproto" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf --docdir="/usr/share/doc/${PF}" || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} + + insinto /usr/share/xsessions + doins "${FILESDIR}"/${PN}.desktop + + insinto /usr/share/awesome/icons/layouts + doins icons/layouts/* + + prepalldocs +} |