Skip to content

Instantly share code, notes, and snippets.

@tlercher
Created January 22, 2011 23:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlercher/791630 to your computer and use it in GitHub Desktop.
Save tlercher/791630 to your computer and use it in GitHub Desktop.
GIT ebuild for wmfs
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit eutils git
DESCRIPTION="Windows Manager From Scratch"
HOMEPAGE="https://www.wmfs.info"
EGIT_REPO_URI="git://git.wmfs.info/wmfs.git"
EGIT_PROJECT="wmfs"
SRC_URI=""
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="xinerama xrandr imlib2"
DEPEND="
x11-libs/libX11
x11-libs/libSM
x11-libs/libXft
imlib2? ( media-libs/imlib2 )
xrandr? ( x11-libs/libXrandr )
xinerama? ( x11-libs/libXinerama )
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
src_configure() {
econf \
$(use_with imlib2) \
$(use_with xrandr) \
$(use_with xinerama)
}
src_install() {
dobin "${S}/${PN}" || die
doman "${S}/${PN}.1" || die
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment