summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-02-20 20:32:46 +0000
committerCédric Krier <cedk@gentoo.org>2007-02-20 20:32:46 +0000
commit13b0859001c8ff33380fb442d96eb0e9aa76c5a3 (patch)
treefc6693af31a1cb391edc72c065fb2a8c745d8901 /x11-misc
parentRemoved ${ROOT} where not appropriate (bug #167271). Added src_test for 1.33.... (diff)
downloadgentoo-2-13b0859001c8ff33380fb442d96eb0e9aa76c5a3.tar.gz
gentoo-2-13b0859001c8ff33380fb442d96eb0e9aa76c5a3.tar.bz2
gentoo-2-13b0859001c8ff33380fb442d96eb0e9aa76c5a3.zip
x11-misc/dmenu: Version bump
(Portage version: 2.1.1-r2)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/dmenu/ChangeLog7
-rw-r--r--x11-misc/dmenu/dmenu-2.2.ebuild58
-rw-r--r--x11-misc/dmenu/files/digest-dmenu-2.23
3 files changed, 67 insertions, 1 deletions
diff --git a/x11-misc/dmenu/ChangeLog b/x11-misc/dmenu/ChangeLog
index 9f2a2e55c244..9aaeb2e8330e 100644
--- a/x11-misc/dmenu/ChangeLog
+++ b/x11-misc/dmenu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/dmenu
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.10 2007/01/28 17:39:39 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.11 2007/02/20 20:32:46 cedk Exp $
+
+*dmenu-2.2 (20 Feb 2007)
+
+ 20 Feb 2007; Cedric Krier <cedk@gentoo.org> +dmenu-2.2.ebuild:
+ Version bump
28 Jan 2007; Cedric Krier <cedk@gentoo.org> dmenu-2.0.ebuild,
dmenu-2.1.ebuild:
diff --git a/x11-misc/dmenu/dmenu-2.2.ebuild b/x11-misc/dmenu/dmenu-2.2.ebuild
new file mode 100644
index 000000000000..630cd9a45c2c
--- /dev/null
+++ b/x11-misc/dmenu/dmenu-2.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/dmenu-2.2.ebuild,v 1.1 2007/02/20 20:32:46 cedk Exp $
+
+inherit toolchain-funcs savedconfig
+
+DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System"
+HOMEPAGE="http://tools.suckless.org/view.sh/x+tools"
+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 ${PN}.h ${PF}.config.h
+
+ 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}"
+}
diff --git a/x11-misc/dmenu/files/digest-dmenu-2.2 b/x11-misc/dmenu/files/digest-dmenu-2.2
new file mode 100644
index 000000000000..bd23a4e2b43e
--- /dev/null
+++ b/x11-misc/dmenu/files/digest-dmenu-2.2
@@ -0,0 +1,3 @@
+MD5 bcf5d93afccedd2d403b4d3cace90aae dmenu-2.2.tar.gz 7963
+RMD160 901b83f35cd9b381b90aff6ab728a646b905e96f dmenu-2.2.tar.gz 7963
+SHA256 773c647637d9e37ca7b908914e93b182d5b92089d94b43911ca2ad9e490a8b5e dmenu-2.2.tar.gz 7963