/[gentoo-x86]/app-text/mpage/mpage-2.5.6.ebuild
Gentoo

Contents of /app-text/mpage/mpage-2.5.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Apr 16 10:04:53 2012 UTC (2 years, 5 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Apply debian patches, drop old.

(Portage version: 2.1.10.56/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/mpage/mpage-2.5.6.ebuild,v 1.1 2010/08/31 00:01:39 jer Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Many to one page printing utility"
10 HOMEPAGE="http://www.mesa.nl/"
11 SRC_URI="http://www.mesa.nl/pub/${PN}/${P}.tgz"
12
13 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
14 LICENSE="freedist"
15 SLOT="0"
16 IUSE=""
17
18 src_prepare() {
19 sed -i Makefile \
20 -e '/^CFLAGS/s|=.*| += $(DEFS)|g' \
21 -e 's|$(CFLAGS) -o|$(LDFLAGS) &|g' \
22 || die "sed Makefile"
23 }
24
25 src_compile() {
26 emake \
27 CC="$(tc-getCC)" \
28 PREFIX=/usr \
29 MANDIR=/usr/share/man/man1 \
30 || die "emake failed"
31 }
32
33 src_install () {
34 emake \
35 PREFIX="${D}/usr" \
36 MANDIR="${D}/usr/share/man/man1" install || die "make install failed"
37 dodoc CHANGES Encoding.format FAQ NEWS README TODO || die "dodoc failed"
38 }

  ViewVC Help
Powered by ViewVC 1.1.20