From b06eb22c38e925d785201a74ee4792637637e682 Mon Sep 17 00:00:00 2001 From: Cédric Krier Date: Tue, 20 Feb 2007 20:25:57 +0000 Subject: x11-wm/dwm: Version bump (Portage version: 2.1.1-r2) --- x11-wm/dwm/ChangeLog | 7 ++++- x11-wm/dwm/dwm-3.5.ebuild | 70 +++++++++++++++++++++++++++++++++++++++++ x11-wm/dwm/files/digest-dwm-3.5 | 3 ++ 3 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 x11-wm/dwm/dwm-3.5.ebuild create mode 100644 x11-wm/dwm/files/digest-dwm-3.5 (limited to 'x11-wm/dwm') diff --git a/x11-wm/dwm/ChangeLog b/x11-wm/dwm/ChangeLog index 1d8e30a6a4c7..2d41a50cfc9a 100644 --- a/x11-wm/dwm/ChangeLog +++ b/x11-wm/dwm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-wm/dwm # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/ChangeLog,v 1.12 2007/02/07 20:47:59 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/ChangeLog,v 1.13 2007/02/20 20:25:57 cedk Exp $ + +*dwm-3.5 (20 Feb 2007) + + 20 Feb 2007; Cedric Krier +dwm-3.5.ebuild: + Version bump *dwm-3.4 (07 Feb 2007) diff --git a/x11-wm/dwm/dwm-3.5.ebuild b/x11-wm/dwm/dwm-3.5.ebuild new file mode 100644 index 000000000000..0b88e6aeabfa --- /dev/null +++ b/x11-wm/dwm/dwm-3.5.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/dwm-3.5.ebuild,v 1.1 2007/02/20 20:25:57 cedk Exp $ + +inherit toolchain-funcs savedconfig + +DESCRIPTION="a dynamic window manager for X11" +HOMEPAGE="http://dwm.suckless.org/" +SRC_URI="http://suckless.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="x11-libs/libX11" +RDEPEND=${DEPEND} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e "s/.*strip.*//" \ + Makefile || die "sed failed" + + sed -i \ + -e "s/CFLAGS = -Os/CFLAGS +=/" \ + -e "s/LDFLAGS =/LDFLAGS +=/" \ + config.mk || die "sed failed" + + if use savedconfig; then + restore_config config.h + fi +} + +src_compile() { + local msg + use savedconfig && msg=", please check the configfile" + emake CC=$(tc-getCC) || die "emake failed${msg}" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed" + + insinto /usr/share/${PN} + newins config.h ${PF}.config.h + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/dwm-session dwm + + insinto /usr/share/xsessions + doins "${FILESDIR}"/dwm.desktop + + dodoc README + + save_config config.h +} + +pkg_postinst() { + einfo "This ebuild has support for user defined configs" + einfo "Please read this ebuild for more details and re-emerge as needed" + einfo "if you want to add or remove functionality for ${PN}" + if ! has_version x11-misc/dmenu; then + elog "Installing ${PN} without x11-misc/dmenu" + einfo "To have a menu you can install x11-misc/dmenu" + fi + einfo "You can custom status bar with a script in HOME/.dwm/dwmrc" + einfo "the ouput is redirected to the standard input of dwm" +} diff --git a/x11-wm/dwm/files/digest-dwm-3.5 b/x11-wm/dwm/files/digest-dwm-3.5 new file mode 100644 index 000000000000..29f2e1e8ccfb --- /dev/null +++ b/x11-wm/dwm/files/digest-dwm-3.5 @@ -0,0 +1,3 @@ +MD5 08034a7b9809c6c6d7508828eb6388a2 dwm-3.5.tar.gz 17520 +RMD160 3e8ef4e421e15a93378ae47f044ba020cea03865 dwm-3.5.tar.gz 17520 +SHA256 f54abcefefb903de520682843ebf1d29ed9ffa1cb6984178fb82c6fc083254b8 dwm-3.5.tar.gz 17520 -- cgit v1.2.3-65-gdbad