You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.1 KiB
52 lines
1.1 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
9 years ago
|
|
||
|
EAPI=5
|
||
|
|
||
8 years ago
|
inherit eutils multilib toolchain-funcs vcs-snapshot
|
||
9 years ago
|
|
||
|
DESCRIPTION="Small dynamic tiling window manager for X11"
|
||
|
HOMEPAGE="https://opensource.conformal.com/wiki/spectrwm"
|
||
8 years ago
|
SRC_URI="https://codeload.github.com/conformal/${PN}/tar.gz/SPECTRWM_${PV//./_} -> ${P}.tar.gz"
|
||
9 years ago
|
|
||
|
LICENSE="ISC"
|
||
|
SLOT="0"
|
||
8 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
9 years ago
|
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.6.2-Makefile.patch
|
||
|
tc-export CC
|
||
|
}
|
||
|
|
||
8 years ago
|
src_compile() {
|
||
|
emake PREFIX="${EROOT}usr" LIBDIR="${EROOT}usr/$(get_libdir)"
|
||
|
}
|
||
|
|
||
9 years ago
|
src_install() {
|
||
8 years ago
|
emake PREFIX="${EROOT}usr" LIBDIR="${EROOT}usr/$(get_libdir)" DESTDIR="${D}" install
|
||
9 years ago
|
|
||
|
cd "${WORKDIR}"/${P} || die
|
||
|
|
||
|
insinto /etc
|
||
|
doins ${PN}.conf
|
||
|
dodoc ${PN}_*.conf {initscreen,screenshot}.sh
|
||
|
|
||
|
make_session_desktop ${PN} ${PN}
|
||
|
|
||
|
elog "Example keyboard config and helpful scripts can be found"
|
||
|
elog "in ${ROOT}usr/share/doc/${PF}"
|
||
|
}
|