/[gentoo-x86]/net-misc/magnesium/magnesium-1.0_pre10-r1.ebuild
Gentoo

Contents of /net-misc/magnesium/magnesium-1.0_pre10-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Sep 15 01:50:30 2003 UTC (16 years, 1 month ago) by mkennedy
Branch: MAIN
fixed glade path

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/magnesium/magnesium-1.0_pre10.ebuild,v 1.1 2003/09/14 21:25:38 mkennedy Exp $
4
5 MY_P=${PN}-${PV/1.0_/}
6 DESCRIPTION="Curphoo X (Magnesium) is a Yahoo chat client."
7 HOMEPAGE="http://magnesium.curphoo.org/"
8 SRC_URI="http://www.waduck.com/~curphoo/mg/${MY_P}.tar.gz"
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~x86"
12 IUSE=""
13
14 DEPEND="=gnome-base/libglade-2*
15 =dev-python/pygtk-2*"
16
17 S=${WORKDIR}/${MY_P}
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22 mv mg.py mg.py.in && sed "s,curphoo.glade,/usr/lib/${P}/curphoo.glade,g" <mg.py.in >mg.py
23 }
24
25 src_install() {
26 insinto /usr/lib/${P}
27 doins *.py curphoo.glade
28 chmod +x ${D}/usr/lib/${P}/mg.py
29 sed "s,@MAGNESIUMPATH@,${P},g" <${FILESDIR}/magnesium >magnesium || die
30 dobin magnesium
31 dodoc CHANGES CREDITS README TODO gpl.txt
32 }

  ViewVC Help
Powered by ViewVC 1.1.20