summaryrefslogtreecommitdiff
blob: 3e9b239f273bf547d92f08e088b839a4c12f9d7f (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-2003 Gentoo Technologies, Inc.
# 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.4 2003/02/13 14:12:05 vapier Exp $

S=${WORKDIR}/${P}
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"

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
	
}