# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-print/pup/pup-1.1.ebuild,v 1.5 2005/03/15 21:00:55 lanius Exp $ inherit eutils MY_P=${P/-/_} DESCRIPTION="Printer Utility Program, setup & maintenance for certain Lexmark & HP printers" HOMEPAGE="http://pup.sourceforge.net/" SRC_URI="mirror://sourceforge/pup/${MY_P}_src.tar.gz http://alfter.us/files/${P}-manpage-install.patch.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~amd64" DEPEND="=x11-libs/gtk+-1.2*" IUSE="" S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} epatch ${DISTDIR}/${P}-manpage-install.patch.gz } src_compile() { emake || die "emake failed" } src_install() { dodir /usr/share/man/man1 make DESTDIR=${D} install || die }