diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-02-24 19:56:16 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-02-24 19:56:16 +0000 |
commit | f06ba6bd6cf7df5891ccfec9ea6c0ab863faf6fa (patch) | |
tree | da323773d57ff9b46abaa6b6290571b9ea0136f2 /x11-wm | |
parent | x11-misc/dmenu: Version bump (diff) | |
download | gentoo-2-f06ba6bd6cf7df5891ccfec9ea6c0ab863faf6fa.tar.gz gentoo-2-f06ba6bd6cf7df5891ccfec9ea6c0ab863faf6fa.tar.bz2 gentoo-2-f06ba6bd6cf7df5891ccfec9ea6c0ab863faf6fa.zip |
x11-dwm/dwm: Version bump
(Portage version: 2.1.2-r9)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/dwm/ChangeLog | 7 | ||||
-rw-r--r-- | x11-wm/dwm/dwm-3.7.ebuild | 70 | ||||
-rw-r--r-- | x11-wm/dwm/files/digest-dwm-3.7 | 3 |
3 files changed, 79 insertions, 1 deletions
diff --git a/x11-wm/dwm/ChangeLog b/x11-wm/dwm/ChangeLog index 63e2e0456d0c..f3f69563cc01 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.14 2007/02/20 20:27:20 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/ChangeLog,v 1.15 2007/02/24 19:56:16 cedk Exp $ + +*dwm-3.7 (24 Feb 2007) + + 24 Feb 2007; Cedric Krier <cedk@gentoo.org> +dwm-3.7.ebuild: + Version bump 20 Feb 2007; Cedric Krier <cedk@gentoo.org> -dwm-3.3.ebuild: Remove old diff --git a/x11-wm/dwm/dwm-3.7.ebuild b/x11-wm/dwm/dwm-3.7.ebuild new file mode 100644 index 000000000000..d411813f5c01 --- /dev/null +++ b/x11-wm/dwm/dwm-3.7.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.7.ebuild,v 1.1 2007/02/24 19:56:16 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.7 b/x11-wm/dwm/files/digest-dwm-3.7 new file mode 100644 index 000000000000..89806474db38 --- /dev/null +++ b/x11-wm/dwm/files/digest-dwm-3.7 @@ -0,0 +1,3 @@ +MD5 bd083c5054c1c26da5cf92ee630a5f57 dwm-3.7.tar.gz 18884 +RMD160 50ab0e3734e0044ce8a7b827887d1f4f82fb35ec dwm-3.7.tar.gz 18884 +SHA256 496e300c5f7f7bf89b972c574549131b9f033f708773aaae9da3802b649e46f2 dwm-3.7.tar.gz 18884 |