diff options
-rw-r--r-- | x11-misc/dmenu/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/dmenu/dmenu-3.0.ebuild | 58 | ||||
-rw-r--r-- | x11-misc/dmenu/files/digest-dmenu-3.0 | 3 |
3 files changed, 67 insertions, 1 deletions
diff --git a/x11-misc/dmenu/ChangeLog b/x11-misc/dmenu/ChangeLog index 5270321cd0a9..f2bd88e5714e 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.18 2007/03/07 19:14:21 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.19 2007/04/20 18:36:48 cedk Exp $ + +*dmenu-3.0 (20 Apr 2007) + + 20 Apr 2007; Cedric Krier <cedk@gentoo.org> +dmenu-3.0.ebuild: + Version bump *dmenu-2.8 (07 Mar 2007) diff --git a/x11-misc/dmenu/dmenu-3.0.ebuild b/x11-misc/dmenu/dmenu-3.0.ebuild new file mode 100644 index 000000000000..b492483ce91a --- /dev/null +++ b/x11-misc/dmenu/dmenu-3.0.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-3.0.ebuild,v 1.1 2007/04/20 18:36:48 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 ${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.0 b/x11-misc/dmenu/files/digest-dmenu-3.0 new file mode 100644 index 000000000000..b0ba383d7a96 --- /dev/null +++ b/x11-misc/dmenu/files/digest-dmenu-3.0 @@ -0,0 +1,3 @@ +MD5 3af235515243abf626116782d3228064 dmenu-3.0.tar.gz 7804 +RMD160 678ab3f35c682cf8fc907df4c9dcf9b1376202ea dmenu-3.0.tar.gz 7804 +SHA256 1c640d7594ac42fa6f130fcce400f32aa183b36dbc4bddb27e48377ddaaf349a dmenu-3.0.tar.gz 7804 |