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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jun 19 17:21:00 2005 UTC (13 years, 3 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, clean up old ebuilds.
(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.4.ebuild,v 1.1 2005/06/06 18:49:11 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="~x86 ~amd64 ~ppc"
16 IUSE="bmp xmms buttons"
17
18 DEPEND=">=net-irc/xchat-2.4.0
19 bmp? ( media-plugins/bmp-infopipe )
20 xmms? ( media-plugins/xmms-infopipe )"
21
22 src_unpack() {
23 unpack ${A}
24 sed -i -e "s:-O2 -Wall:${CFLAGS} -Wall:" ${S}/Makefile
25 if use buttons; then
26 sed -i -e "s:#BUTTON:BUTTON:" ${S}/Makefile
27 fi
28 }
29
30 src_compile() {
31 emake -j1 CC="$(tc-getCC)" || die "Compile failed"
32 }
33
34 src_install() {
35 exeinto /usr/$(get_libdir)/xchat/plugins
36 doexe xsys-${PV}.so || die "doexe failed"
37
38 dodoc ChangeLog README || die "dodoc failed"
39 }

  ViewVC Help
Powered by ViewVC 1.1.20