diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-03-06 22:52:44 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-03-06 22:52:44 +0000 |
commit | 57266e93829f37be5064633a6b8d0bcd71d44108 (patch) | |
tree | 9632970036205055e3b6696d9ec8418e0919a5b3 /x11-misc | |
parent | Vbump. (diff) | |
download | gentoo-2-57266e93829f37be5064633a6b8d0bcd71d44108.tar.gz gentoo-2-57266e93829f37be5064633a6b8d0bcd71d44108.tar.bz2 gentoo-2-57266e93829f37be5064633a6b8d0bcd71d44108.zip |
x11-misc/dmenu: Version bump
(Portage version: 2.1.2-r9)
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/dmenu/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/dmenu/dmenu-2.7.ebuild | 58 | ||||
-rw-r--r-- | x11-misc/dmenu/files/digest-dmenu-2.7 | 3 |
3 files changed, 67 insertions, 1 deletions
diff --git a/x11-misc/dmenu/ChangeLog b/x11-misc/dmenu/ChangeLog index afe60d972f5f..365f047bafc0 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.16 2007/03/02 21:30:24 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.17 2007/03/06 22:52:44 cedk Exp $ + +*dmenu-2.7 (06 Mar 2007) + + 06 Mar 2007; Cedric Krier <cedk@gentoo.org> +dmenu-2.7.ebuild: + Version bump *dmenu-2.6 (02 Mar 2007) diff --git a/x11-misc/dmenu/dmenu-2.7.ebuild b/x11-misc/dmenu/dmenu-2.7.ebuild new file mode 100644 index 000000000000..b77db78ea23d --- /dev/null +++ b/x11-misc/dmenu/dmenu-2.7.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.7.ebuild,v 1.1 2007/03/06 22:52:44 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-2.7 b/x11-misc/dmenu/files/digest-dmenu-2.7 new file mode 100644 index 000000000000..ecbe7ec29406 --- /dev/null +++ b/x11-misc/dmenu/files/digest-dmenu-2.7 @@ -0,0 +1,3 @@ +MD5 11651b97978543bd7eb8d6ef1422e105 dmenu-2.7.tar.gz 7724 +RMD160 8a65109287c68d4e1c6183da5ad5d10222abcbab dmenu-2.7.tar.gz 7724 +SHA256 4542b2a3f2284e71c6ace1c2edeae59abdd2edebd7f307813e5f7e945fabc76b dmenu-2.7.tar.gz 7724 |