# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit eutils #FIXME: This package doesn't need install userguide html docs implicitly # (for example i don't want them) DESCRIPTION="Program for printing one or more image files with a user-defined page layout" HOMEPAGE="http://kornelix.squarespace.com/printoxx" SRC_URI="http://kornelix.squarespace.com/storage/downloads/${P}.tar.gz" LICENSE="GPL-2" #LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="x11-libs/gtk+" RDEPEND="${DEPEND}" src_compile() { PREFIX=/usr emake || die "emake failed" } src_install() { cd "${S}" dobin printoxx insinto /usr/share/${PN} doins -r locales icons newman doc/${PN}.man ${PN}.1 dodoc doc/{CHANGES,README,TRANSLATIONS} dohtml -r doc/userguide-en.html doc/images make_desktop_entry ${PN} "Fotoxx" ${PN} "Application;Graphics;Photography;" doicon icons/printoxx.png }