summaryrefslogtreecommitdiff
blob: c4782780a162fab32196da3cb16d27fc17da7826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Mantainer: Pau Oliva <pau@eSlack.org>
# $Header: /var/cvsroot/gentoo-x86/net-im/msn4lin/msn4lin-0.2e.ebuild,v 1.1 2002/04/24 20:52:37 verwilst Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Tcl/tk MSN Messenger client for linux"

SRC_URI="http://80.33.169.13/downloads/msn4lin.tar.gz"
HOMEPAGE="http://www.borsanza.com/"
DEPEND=">=dev-lang/tcl-8.3.3
	>=dev-lang/tk-8.3.3"
SLOT="0"

src_unpack() {
    unpack msn4lin.tar.gz
    cd ${S}
    patch -p0 < ${FILESDIR}/${P}.diff
}

src_install() {

	cd ${S}
	mkdir -p ${D}/usr/share/msn4lin
	mkdir -p ${D}/usr/bin
	rm -f lang/languages
	cp ${FILESDIR}/languages-0.2e lang/languages
	dodoc GNUGPL agradecimientos.txt leeme.txt original.txt
	cp -rf * ${D}/usr/share/msn4lin/
	cd ${D}/usr/share/msn4lin/
	# We disable all this auto-update stuff..
	echo "#!/bin/sh" > comprobar
	echo "#!/bin/sh" > actualizar
	ln -sf /usr/share/msn4lin/msn4lin ${D}/usr/bin/msn4lin
	
}