summaryrefslogtreecommitdiff
blob: e69bbe2b62988450e9026ab2fd18ec9c7b422a95 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Jos� Alberto Su�rez L�pez <bass@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-p2p/xsat/xsat-0.21.ebuild,v 1.2 2002/06/25 11:12:27 bangert Exp $

MY_P=${PN}${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="GUI for AudioGalaxy Satellite."
SRC_URI="http://unc.dl.sourceforge.net/sourceforge/xsatellite/${P}.tar.gz"

HOMEPAGE="http://xsatellite.sourceforge.net"

LICENSE="GPL-2"
SLOT="0"

DEPEND="dev-lang/tk"

src_install () {

	INSTALLDIR=/usr/share/xsat
	dodir ${INSTALLDIR}/{gif,Satellite}
	dodir ${INSTALLDIR}/xsat/{wav,config,tcl}

	insinto ${INSTALLDIR}/gif
	doins gif/*

	insinto ${INSTALLDIR}/Satellite
	doins Satellite/*

	insinto ${INSTALLDIR}/wav
	doins wav/*

	insinto ${INSTALLDIR}/config
	doins config/*

	insinto ${INSTALLDIR}/tcl
	doins tcl/*
	
	exeinto ${INSTALLDIR}
	doexe xsatellite.tcl
	
	dodoc COPYING README CHANGES
	
	exeinto /usr/bin
	doexe ${FILESDIR}/xsatellite
	echo -e "cd ${INSTALLDIR}">>${D}/usr/bin/xsatellite
	echo -e "wish xsatellite.tcl">>${D}/usr/bin/xsatellite
}

pkg_postinst() {
	einfo	"_________________________________________________________"
	einfo	"|                                                       |"
	einfo	"| You must create two files in your home:               |"
	einfo	"|  account.txt (email and password of your login in     |"
	einfo	"|  www.audiogalaxy.com).                                |"
	einfo	"|  shares.txt (the dirs when you store the mp3, and in  |"
	einfo	"|  the first line the dir for download).                |"
	einfo	"| You must make a account in www.audiogalaxy.com for    |"
	einfo	"| use this client.                                      |"
	einfo 	"| ***************************************************** |"
	einfo	"| Xsatellite uses the offcial client from AG that is    |"
	einfo	"| not free.                                             |"
	einfo 	"| ***************************************************** |"
	einfo	"|_______________________________________________________|"
}