summaryrefslogtreecommitdiff
blob: 80e56d8ce873ab5dd351fa543ba754a055072bc0 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/leafpad/leafpad-0.7.9.ebuild,v 1.1 2005/01/25 15:39:03 taviso Exp $

inherit eutils

DESCRIPTION="Simple gtk+ text editor"
HOMEPAGE="http://tarot.freeshell.org/leafpad/"
SRC_URI="http://savannah.nongnu.org/download/leafpad/${P}.tar.gz
	mirror://gentoo/${P}-file_chooser.patch.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="nls"

DEPEND=">=x11-libs/gtk+-2.4"

src_unpack() {
	unpack ${A}
	epatch ${WORKDIR}/${P}-file_chooser.patch
}

src_compile() {
	econf --disable-rpath `use_enable nls`
	emake
}

src_install() {
	einstall
	dodoc AUTHORS ChangeLog COPYING NEWS README
}