/[gentoo-x86]/x11-plugins/wmrack/wmrack-1.3.ebuild
Gentoo

Contents of /x11-plugins/wmrack/wmrack-1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Aug 31 10:43:52 2010 UTC (4 years ago) by s4t4n
Branch: MAIN
Changes since 1.2: +3 -2 lines
Honour LDFLAGS. Closes bug #334623.
(Portage version: 2.1.8.3/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmrack/wmrack-1.3.ebuild,v 1.2 2008/06/28 07:13:50 maekke Exp $
4
5 inherit multilib toolchain-funcs
6
7 DESCRIPTION="a sound mixer and CD player dockapp."
8 HOMEPAGE="http://wmrack.sourceforge.net"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc x86"
14 IUSE=""
15
16 RDEPEND="x11-libs/libX11
17 x11-libs/libXpm
18 x11-libs/libXext"
19 DEPEND="${RDEPEND}
20 x11-proto/xextproto"
21
22 src_unpack() {
23 unpack ${A}
24 sed -i -e 's:gcc:$(CC):' "${S}"/Makefile.in
25 sed -i -e 's:$(OBJECTS) -o:$(OBJECTS) $(LDFLAGS) -o:' "${S}"/Makefile.in
26 }
27
28 src_compile() {
29 tc-export CC
30 econf --x-includes=/usr/include --x-libraries=/usr/$(get_libdir)
31 emake -j1 || die "emake failed."
32 }
33
34 src_install() {
35 emake -j1 LIBDIR="${D}/usr/$(get_libdir)/WMRack" \
36 MANDIR="${D}/usr/share/man" BINDIR="${D}/usr/bin" \
37 install || die "emake install failed."
38
39 dodoc CHANGES README TODO
40 }

  ViewVC Help
Powered by ViewVC 1.1.20