diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-08-21 19:06:31 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-08-21 19:06:31 +0000 |
commit | bb983db7bdd2734f089649fcbda4e163cc2b8ba1 (patch) | |
tree | c1e2b5c44a80743171b1ca318f538aa089aa49c6 /net-print | |
parent | arm stable, bug #329961 (diff) | |
download | gentoo-2-bb983db7bdd2734f089649fcbda4e163cc2b8ba1.tar.gz gentoo-2-bb983db7bdd2734f089649fcbda4e163cc2b8ba1.tar.bz2 gentoo-2-bb983db7bdd2734f089649fcbda4e163cc2b8ba1.zip |
Respect CC,CFLAGS,LDFLAGS. Bug #333837. Thanks to Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org> for reporting
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/pup/ChangeLog | 10 | ||||
-rw-r--r-- | net-print/pup/pup-1.1-r1.ebuild | 37 |
2 files changed, 45 insertions, 2 deletions
diff --git a/net-print/pup/ChangeLog b/net-print/pup/ChangeLog index 688b48bfc0c3..eee91b4a46a5 100644 --- a/net-print/pup/ChangeLog +++ b/net-print/pup/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-print/pup -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/pup/ChangeLog,v 1.7 2007/02/09 05:06:22 flameeyes Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/pup/ChangeLog,v 1.8 2010/08/21 19:06:31 hwoarang Exp $ + +*pup-1.1-r1 (21 Aug 2010) + + 21 Aug 2010; Markos Chandras <hwoarang@gentoo.org> +pup-1.1-r1.ebuild: + Respect CC,CFLAGS,LDFLAGS. Bug #333837. Thanks to Diego E. 'Flameeyes' + Pettenò <flameeyes@gentoo.org> for reporting 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/net-print/pup/pup-1.1-r1.ebuild b/net-print/pup/pup-1.1-r1.ebuild new file mode 100644 index 000000000000..b07e5c103f78 --- /dev/null +++ b/net-print/pup/pup-1.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/pup/pup-1.1-r1.ebuild,v 1.1 2010/08/21 19:06:31 hwoarang Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs + +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="~amd64 ~x86" +DEPEND="=x11-libs/gtk+-1.2*" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch ${DISTDIR}/${P}-manpage-install.patch.gz + sed -i -e "/^CC/s: =.*$: = $(tc-getCC) ${CFLAGS} ${LDFLAGS}:" \ + Makefile || die "sed failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dodir /usr/share/man/man1 + make DESTDIR=${D} install || die +} |