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

Contents of /net-irc/xchat-xsys/xchat-xsys-2.0.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Feb 20 23:13:30 2007 UTC (11 years, 5 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Remove obsolete ebuilds.
(Portage version: 2.1.2-r9)

1 # Copyright 1999-2006 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.8-r1.ebuild,v 1.9 2006/11/13 14:53:57 flameeyes Exp $
4
5 inherit toolchain-funcs eutils
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 sparc x86"
16 IUSE="buttons"
17
18 DEPEND="|| (
19 >=net-irc/xchat-2.4.0
20 >=net-irc/xchat-gnome-0.4
21 )
22 sys-apps/pciutils"
23
24 src_unpack() {
25 unpack ${A}
26 sed -i -e "s:-O2 -Wall:${CFLAGS} -Wall:" ${S}/Makefile
27 if use buttons; then
28 sed -i -e "s:#BUTTON:BUTTON:" ${S}/Makefile
29 fi
30 epatch ${FILESDIR}/${PV}-pciutils-headerchange.patch
31 }
32
33 src_compile() {
34 emake -j1 CC="$(tc-getCC)" || die "Compile failed"
35 }
36
37 src_install() {
38 exeinto /usr/$(get_libdir)/xchat/plugins
39 doexe xsys-${PV}.so || die "doexe failed"
40
41 dodoc ChangeLog README || die "dodoc failed"
42 }

  ViewVC Help
Powered by ViewVC 1.1.20