/[gentoo-x86]/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild
Gentoo

Contents of /x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Mon Apr 7 19:53:06 2014 UTC (4 years, 4 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +11 -17 lines
Use EAPI5 instead of EAPI1.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmdrawer/wmdrawer-0.10.5-r2.ebuild,v 1.10 2012/05/05 05:12:01 jdhore Exp $
4
5 EAPI=5
6 inherit eutils
7
8 DESCRIPTION="dockapp which provides a drawer (retractable button bar) to launch applications"
9 HOMEPAGE="http://people.easter-eggs.org/~valos/wmdrawer/"
10 SRC_URI="http://people.easter-eggs.org/~valos/wmdrawer/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc ~sparc x86"
15 IUSE=""
16
17 RDEPEND="x11-libs/gtk+:2"
18 DEPEND="${RDEPEND}
19 virtual/pkgconfig"
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${P}-gtk+-2.patch
23
24 # Honour Gentoo CFLAGS
25 sed -i -e "s|-O3|${CFLAGS}|" Makefile || die
26 # Fix LDFLAGS ordering per bug #248640
27 sed -i -e 's/$(CC) $(LDFLAGS) -o $@ $(OBJS)/$(CC) -o $@ $(OBJS) $(LDFLAGS)/' Makefile || die
28 # Do not auto-strip binaries
29 sed -i -e 's/ strip $@//' Makefile || die
30 # Honour Gentoo LDFLAGS
31 sed -i -e 's/$(CC) -o/$(CC) $(REAL_LDFLAGS) -o/' Makefile || die
32 }
33
34 src_compile() {
35 emake REAL_LDFLAGS="${LDFLAGS}"
36 }
37
38 src_install() {
39 dobin wmdrawer
40 dodoc README TODO AUTHORS ChangeLog wmdrawerrc.example
41 doman doc/wmdrawer.1x.gz
42 }

  ViewVC Help
Powered by ViewVC 1.1.20