summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/dmenu')
-rw-r--r--x11-misc/dmenu/ChangeLog7
-rw-r--r--x11-misc/dmenu/dmenu-3.1.ebuild54
-rw-r--r--x11-misc/dmenu/files/digest-dmenu-3.13
3 files changed, 63 insertions, 1 deletions
diff --git a/x11-misc/dmenu/ChangeLog b/x11-misc/dmenu/ChangeLog
index f2bd88e5714e..0799821ae68f 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.19 2007/04/20 18:36:48 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.20 2007/05/21 20:38:20 cedk Exp $
+
+*dmenu-3.1 (21 May 2007)
+
+ 21 May 2007; Cédric Krier <cedk@gentoo.org> +dmenu-3.1.ebuild:
+ Version bump
*dmenu-3.0 (20 Apr 2007)
diff --git a/x11-misc/dmenu/dmenu-3.1.ebuild b/x11-misc/dmenu/dmenu-3.1.ebuild
new file mode 100644
index 000000000000..3058c06b45a2
--- /dev/null
+++ b/x11-misc/dmenu/dmenu-3.1.ebuild
@@ -0,0 +1,54 @@
+# 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-3.1.ebuild,v 1.1 2007/05/21 20:38:20 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/CFLAGS = -Os/CFLAGS += -g/" \
+ -e "s/LDFLAGS = -s/LDFLAGS += -g/" \
+ config.mk || die "sed failed"
+
+ if use savedconfig; then
+ restore_config ${PN}.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 ${PN}.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-3.1 b/x11-misc/dmenu/files/digest-dmenu-3.1
new file mode 100644
index 000000000000..69d0de535995
--- /dev/null
+++ b/x11-misc/dmenu/files/digest-dmenu-3.1
@@ -0,0 +1,3 @@
+MD5 92981597f2d46d13fc41c708ef4959b7 dmenu-3.1.tar.gz 7912
+RMD160 12a8de98808fd162860979d5432447e61e9c209f dmenu-3.1.tar.gz 7912
+SHA256 ae1dd422eba6ef3e9a0c0fc82fd6c9645707d3f97c73b58a96cb1c86d1663f4b dmenu-3.1.tar.gz 7912