/[gentoo-x86]/net-irc/xchat-xsys/xchat-xsys-2.0.6.ebuild
Gentoo

Contents of /net-irc/xchat-xsys/xchat-xsys-2.0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jun 20 18:49:00 2005 UTC (13 years, 1 month ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Bump to close bug #96586; forces LC_ALL=C on df call.
(Portage version: 2.0.51.22-r1)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-xsys/xchat-xsys-2.0.6.ebuild,v 1.1 2005/06/19 17:21:00 chainsaw Exp $
4
5 inherit toolchain-funcs
6
7 MY_P="${P/xchat-/}"
8 S=${WORKDIR}/${MY_P}
9 DESCRIPTION="Sysinfo plugin for X-Chat."
10 SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
11 HOMEPAGE="http://dev.gentoo.org/~chainsaw/xsys/"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
16 IUSE="bmp xmms buttons"
17
18 DEPEND=">=net-irc/xchat-2.4.0
19 sys-apps/pciutils
20 bmp? ( media-plugins/bmp-infopipe )
21 xmms? ( media-plugins/xmms-infopipe )"
22
23 src_unpack() {
24 unpack ${A}
25 sed -i -e "s:-O2 -Wall:${CFLAGS} -Wall:" ${S}/Makefile
26 if use buttons; then
27 sed -i -e "s:#BUTTON:BUTTON:" ${S}/Makefile
28 fi
29 }
30
31 src_compile() {
32 emake -j1 CC="$(tc-getCC)" || die "Compile failed"
33 }
34
35 src_install() {
36 exeinto /usr/$(get_libdir)/xchat/plugins
37 doexe xsys-${PV}.so || die "doexe failed"
38
39 dodoc ChangeLog README || die "dodoc failed"
40 }

  ViewVC Help
Powered by ViewVC 1.1.20