diff options
Diffstat (limited to 'x11-wm/spectrwm/spectrwm-2.1.1.ebuild')
-rw-r--r-- | x11-wm/spectrwm/spectrwm-2.1.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-wm/spectrwm/spectrwm-2.1.1.ebuild b/x11-wm/spectrwm/spectrwm-2.1.1.ebuild new file mode 100644 index 000000000000..50a289abf1cf --- /dev/null +++ b/x11-wm/spectrwm/spectrwm-2.1.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/spectrwm/spectrwm-2.1.1.ebuild,v 1.1 2012/12/01 10:20:40 xmw Exp $ + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Small dynamic tiling window manager for X11" +HOMEPAGE="https://opensource.conformal.com/wiki/spectrwm" +SRC_URI="http://opensource.conformal.com/snapshots/${PN}/${P}.tgz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-misc/dmenu" +DEPEND="${DEPEND} + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/xcb-util + !x11-wm/scrotwm" + +S=${WORKDIR}/${P}/linux + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.1.0-makefile.patch + tc-export CC +} + +src_install() { + emake PREFIX="${D}"/usr LIBDIR="${D}usr/$(get_libdir)" install + + cd "${WORKDIR}"/${P} || die + + insinto /etc + doins ${PN}.conf + dodoc ${PN}_*.conf {initscreen,screenshot}.sh + + elog "Example keyboard config and helpful scripts can be found" + elog "in ${ROOT}usr/share/doc/${PF}" +} |