summaryrefslogtreecommitdiff
blob: 65102d985c07e76b72e1386aeb06cd3b50a36682 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/blogtk-0.9.ebuild,v 1.3 2004/06/24 23:37:03 agriffis Exp $

DESCRIPTION="GTK Blog - post entries to your blog"
HOMEPAGE="http://blogtk.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}-1.tar.bz2"
RESTRICT="nomirror"
S="${WORKDIR}/BloGTK-${PV}-1"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"

IUSE=""

DEPEND=""

RDEPEND=">=dev-python/pygtk-2.0.0
	>=gnome-base/gconf-2.2.0
	dev-python/gnome-python"

DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS TODO"

src_install() {
	sed -e 's/PREFIX ?=/#&/g' Makefile | sed -e 's/#PREFIX = /PREFIX = ${D}/g' \
		> Makefile.tmp && mv Makefile.tmp Makefile
	make PREFIX="${D}/usr" || die "Unable to compile blogtk"
}