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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (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.6: +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.1.0.ebuild,v 1.6 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="http://dev.gentoo.org/~chainsaw/xsys/download/${MY_P}.tar.bz2 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="audacious buttons"
17
18 DEPEND="|| (
19 >=net-irc/xchat-2.4.0
20 >=net-irc/xchat-gnome-0.4
21 )
22 sys-apps/pciutils
23 audacious? ( media-sound/audacious )"
24
25 src_unpack() {
26 unpack ${A}
27 sed -i -e "s:-O2 -Wall:${CFLAGS} -Wall:" ${S}/Makefile
28 if use buttons; then
29 sed -i -e "s:#BUTTON:BUTTON:" ${S}/Makefile
30 fi
31 if use audacious; then
32 sed -i -e "s:# FOR AUDACIOUS # ::g" ${S}/Makefile
33 fi
34 }
35
36 src_compile() {
37 emake -j1 CC="$(tc-getCC)" || die "Compile failed"
38 }
39
40 src_install() {
41 exeinto /usr/$(get_libdir)/xchat/plugins
42 doexe xsys-${PV}.so || die "doexe failed"
43
44 exeinto /usr/$(get_libdir)/xchat-gnome/plugins
45 doexe xsys-${PV}.so || die "doexe failed"
46
47 dodoc ChangeLog README || die "dodoc failed"
48 }

  ViewVC Help
Powered by ViewVC 1.1.20