From: | "Cedric Krier (cedk)" <cedk@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/dmenu: ChangeLog dmenu-3.6.ebuild |
Date: | Fri, 04 Apr 2008 17:01:27 |
Message-Id: | E1JhpI3-0007De-RD@stork.gentoo.org |
1 | cedk 08/04/04 17:01:23 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dmenu-3.6.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.30 x11-misc/dmenu/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/dmenu/ChangeLog?rev=1.30&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/dmenu/ChangeLog?rev=1.30&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/dmenu/ChangeLog?r1=1.29&r2=1.30 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v |
19 | retrieving revision 1.29 |
20 | retrieving revision 1.30 |
21 | diff -u -r1.29 -r1.30 |
22 | --- ChangeLog 16 Mar 2008 12:12:09 -0000 1.29 |
23 | +++ ChangeLog 4 Apr 2008 17:01:23 -0000 1.30 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for x11-misc/dmenu |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.29 2008/03/16 12:12:09 cedk Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.30 2008/04/04 17:01:23 cedk Exp $ |
29 | + |
30 | +*dmenu-3.6 (04 Apr 2008) |
31 | + |
32 | + 04 Apr 2008; Cédric Krier <cedk@g.o> +dmenu-3.6.ebuild: |
33 | + Version bump |
34 | |
35 | *dmenu-3.5 (16 Mar 2008) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 x11-misc/dmenu/dmenu-3.6.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/dmenu/dmenu-3.6.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/dmenu/dmenu-3.6.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: dmenu-3.6.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/dmenu-3.6.ebuild,v 1.1 2008/04/04 17:01:23 cedk Exp $ |
50 | |
51 | inherit toolchain-funcs savedconfig |
52 | |
53 | DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System" |
54 | HOMEPAGE="http://tools.suckless.org/view.sh/x+tools" |
55 | SRC_URI="http://suckless.org/download/${P}.tar.gz" |
56 | |
57 | LICENSE="MIT" |
58 | SLOT="0" |
59 | KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
60 | IUSE="" |
61 | |
62 | DEPEND="x11-libs/libX11" |
63 | RDEPEND=${DEPEND} |
64 | |
65 | src_unpack() { |
66 | unpack ${A} |
67 | cd "${S}" |
68 | |
69 | sed -i \ |
70 | -e "s/CFLAGS = -Os/CFLAGS += -g/" \ |
71 | -e "s/LDFLAGS = -s/LDFLAGS += -g/" \ |
72 | config.mk || die "sed failed" |
73 | |
74 | if use savedconfig; then |
75 | restore_config config.h |
76 | fi |
77 | } |
78 | |
79 | src_compile() { |
80 | local msg |
81 | use savedconfig && msg=", please check the configfile" |
82 | emake CC=$(tc-getCC) || die "emake failed${msg}" |
83 | } |
84 | |
85 | src_install() { |
86 | emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed" |
87 | |
88 | insinto /usr/share/${PN} |
89 | newins config.h ${PF}.config.h |
90 | |
91 | dodoc README |
92 | |
93 | save_config config.h |
94 | } |
95 | |
96 | pkg_postinst() { |
97 | einfo "This ebuild has support for user defined configs" |
98 | einfo "Please read this ebuild for more details and re-emerge as needed" |
99 | einfo "if you want to add or remove functionality for ${PN}" |
100 | } |
101 | |
102 | |
103 | |
104 | -- |
105 | gentoo-commits@l.g.o mailing list |