summaryrefslogtreecommitdiff
blob: c24729b2cb7705a60e564cb082f9b1b8d4dbd9c8 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/msn4lin/msn4lin-0.4.ebuild,v 1.8 2004/07/15 00:17:35 agriffis Exp $

DESCRIPTION="Tcl/tk MSN Messenger client for linux"

SRC_URI="mirror://gentoo/${P}.tar.gz"
HOMEPAGE="http://www.borsanza.com/"
DEPEND=">=dev-lang/tcl-8.3.3
	>=dev-lang/tk-8.3.3"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
IUSE=""

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

src_install() {

	cd ${S}
	dodir /usr/share/msn4lin
	dodir /usr/bin
	rm -f lang/languages
	cp ${FILESDIR}/languages-${PV} 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

}