summaryrefslogtreecommitdiff
blob: acfa013790f01349718e4016e9b33f7511ad8623 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/charm/charm-1.7.0.ebuild,v 1.1 2009/05/24 03:57:37 neurogeek Exp $

NEED_PYTHON=2.3

inherit distutils

DESCRIPTION="A text based livejournal client"
HOMEPAGE="http://ljcharm.sourceforge.net/"
SRC_URI="mirror://sourceforge/ljcharm/${P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i \
		-e 's/1\.6\.0/1.7.0/' \
		-e 's/("share\/doc\/charm", .*),/\\/' \
		setup.py
}

src_install() {
	DOCS="CHANGES.charm sample.charmrc"
	distutils_src_install
	dohtml charm.html
}