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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Feb 19 18:40:09 2006 UTC (12 years, 6 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove stale ebuilds and patches. Add taglib dependency for musepack as suggested by frirajder@gmail.com, closes bug #123378.
(Portage version: 2.1_pre4-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-r1.ebuild,v 1.4 2005/07/21 14:41:48 corsair 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 x86"
16 IUSE="bmp xmms buttons"
17
18 DEPEND="|| (
19 >=net-irc/xchat-2.4.0
20 >=net-irc/xchat-gnome-0.4
21 )
22 sys-apps/pciutils
23 bmp? ( media-plugins/bmp-infopipe )
24 xmms? ( media-plugins/xmms-infopipe )"
25
26 src_unpack() {
27 unpack ${A}
28 sed -i -e "s:-O2 -Wall:${CFLAGS} -Wall:" ${S}/Makefile
29 if use buttons; then
30 sed -i -e "s:#BUTTON:BUTTON:" ${S}/Makefile
31 fi
32 epatch ${FILESDIR}/${PV}-localisation.patch
33 }
34
35 src_compile() {
36 emake -j1 CC="$(tc-getCC)" || die "Compile failed"
37 }
38
39 src_install() {
40 exeinto /usr/$(get_libdir)/xchat/plugins
41 doexe xsys-${PV}.so || die "doexe failed"
42
43 dodoc ChangeLog README || die "dodoc failed"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20