# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A GTK+ based text editor similar to Notepad." HOMEPAGE="http://tarot.freeshell.org/leafpad/" SRC_URI="http://savannah.nongnu.org/download/leafpad/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="print" DEPEND=">=x11-libs/gtk+-2" RDEPEND="${RDEPEND} dev-util/pkgconfig" src_compile () { econf \ `use_enable print` || die "econf failed" \ emake || die "emake failed" } src_install () { make install DESTDIR=${D} || die "make install failed" }