blob: 8d8967b96fa089870fb740b8b376f9297f419450 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/skysentials/skysentials-1.0.1-r1.ebuild,v 1.1 2009/08/20 02:39:20 darkside Exp $
inherit eutils python
DESCRIPTION="Provides some handy Skype features that are lacking in the Linux client (SMS, etc)"
HOMEPAGE="http://www.kolmann.at/philipp/linux/skysentials/"
SRC_URI="http://www.kolmann.at/philipp/linux/skysentials/skysentials-1.0.1.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="dev-python/skype4py"
src_unpack() {
unpack "${A}"
cd "${S}"
epatch "${FILESDIR}/${P}-python26.patch"
}
src_install() {
dodir $(python_get_sitedir)/skysentials || die "dodir failed"
insinto $(python_get_sitedir)/skysentials
doins About.py ListSMS.py RegisterPhone.py SendSMS.py TransferCall.py \
skysentials.py || die "doins failed"
fperms a+x $(python_get_sitedir)/skysentials/skysentials.py \
|| die "fperms failed"
dosym $(python_get_sitedir)/skysentials/skysentials.py \
/usr/bin/skysentials.py || die "dosym failed"
dodoc README ChangeLog || die "dodoc failed"
}
pkg_postinst() {
python_mod_optimize $(python_get_sitedir)/skysentials
}
pkg_postrm() {
python_mod_cleanup $(python_get_sitedir)/skysentials
}
|