/[gentoo-x86]/net-print/pup/pup-1.1-r1.ebuild
Gentoo

Contents of /net-print/pup/pup-1.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Dec 14 05:17:10 2013 UTC (16 months, 1 week ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
net-print/pup is gone

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-print/pup/pup-1.1-r1.ebuild,v 1.4 2012/04/07 12:03:17 maekke Exp $
4
5 EAPI="2"
6
7 inherit eutils
8
9 MY_P=${P/-/_}
10
11 DESCRIPTION="Printer Utility Program, setup & maintenance for certain Lexmark & HP printers"
12 HOMEPAGE="http://pup.sourceforge.net/"
13 SRC_URI="mirror://sourceforge/${PN}/${MY_P}_src.tar.gz
14 http://alfter.us/files/${P}-manpage-install.patch.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="x86"
19 DEPEND="x11-libs/gtk+:1
20 sys-libs/zlib
21 dev-libs/glib:1"
22 RDEPEND="${DEPEND}"
23 IUSE=""
24
25 S=${WORKDIR}/${MY_P}
26
27 src_prepare() {
28 epatch ${DISTDIR}/"${P}"-manpage-install.patch.gz
29 sed -i -e "/^CC/s: =.*$: = $(tc-getCC) ${CFLAGS} ${LDFLAGS}:" \
30 Makefile || die "sed failed"
31 }
32
33 src_compile() {
34 emake || die "emake failed"
35 }
36
37 src_install() {
38 dodir /usr/share/man/man1
39 emake DESTDIR="${D}" install || die
40 }

  ViewVC Help
Powered by ViewVC 1.1.20