diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-01-31 23:02:05 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-01-31 23:02:05 +0000 |
commit | 83021e48d5c165def28a57dacb3a798c261a9444 (patch) | |
tree | db82feb716586bfafbd86000e3e5be5460f9f4f6 /x11-wm/jwm/jwm-2.1.0.ebuild | |
parent | Initial EAPI4 support in qt4-build eclass (diff) | |
download | historical-83021e48d5c165def28a57dacb3a798c261a9444.tar.gz historical-83021e48d5c165def28a57dacb3a798c261a9444.tar.bz2 historical-83021e48d5c165def28a57dacb3a798c261a9444.zip |
Clean up patch. Version bump.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'x11-wm/jwm/jwm-2.1.0.ebuild')
-rw-r--r-- | x11-wm/jwm/jwm-2.1.0.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/x11-wm/jwm/jwm-2.1.0.ebuild b/x11-wm/jwm/jwm-2.1.0.ebuild new file mode 100644 index 000000000000..9453cb8a2f77 --- /dev/null +++ b/x11-wm/jwm/jwm-2.1.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/jwm/jwm-2.1.0.ebuild,v 1.1 2012/01/31 23:02:03 jer Exp $ + +EAPI=4 +inherit eutils + +DESCRIPTION="Very fast and lightweight still powerful window manager for X" +HOMEPAGE="http://joewing.net/programs/jwm/" +SRC_URI="http://joewing.net/programs/jwm/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +IUSE="bidi debug jpeg png truetype xinerama xpm" + +RDEPEND="xpm? ( x11-libs/libXpm ) + xinerama? ( x11-libs/libXinerama ) + x11-libs/libXext + x11-libs/libXrender + x11-libs/libXau + x11-libs/libXdmcp + truetype? ( x11-libs/libXft ) + png? ( media-libs/libpng ) + jpeg? ( virtual/jpeg ) + bidi? ( dev-libs/fribidi ) + dev-libs/expat" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + xinerama? ( x11-proto/xineramaproto )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.0.1-nostrip.patch +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable jpeg) \ + $(use_enable png) \ + $(use_enable truetype xft) \ + $(use_enable xinerama) \ + $(use_enable xpm) \ + $(use_enable bidi fribidi) \ + --enable-shape \ + --enable-xrender +} + +src_install() { + dodir /usr/bin + dodir /etc + dodir /usr/share/man + emake BINDIR="${D}/usr/bin" SYSCONF="${D}/etc" \ + MANDIR="${D}/usr/share/man" install + rm "${D}"/etc/system.jwmrc + + echo "#!/bin/sh" > jwm + echo "exec /usr/bin/jwm" >> jwm + exeinto /etc/X11/Sessions + doexe jwm + + dodoc README example.jwmrc todo.txt +} + +pkg_postinst() { + einfo "Put an appropriate configuration file in /etc/system.jwmrc" + einfo "or in ~/.jwmrc." + einfo "An example file can be found in ${EROOT}/usr/share/doc/${PF}/" +} |