You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/mpage/mpage-2.5.4.ebuild

35 lines
850 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/mpage/mpage-2.5.4.ebuild,v 1.8 2012/07/29 17:10:04 armin76 Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Many to one page printing utility"
HOMEPAGE="http://www.mesa.nl/"
SRC_URI="http://www.mesa.nl/pub/${PN}/${P}.tgz"
KEYWORDS="amd64 ppc x86"
LICENSE="freedist"
SLOT="0"
IUSE=""
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-gcc4.patch
}
src_compile() {
emake \
CFLAGS="$CFLAGS \$(DEFS)" \
CC="$(tc-getCC)" \
PREFIX=/usr \
MANDIR=/usr/share/man/man1 || die "emake failed"
}
src_install () {
emake \
PREFIX="${D}/usr" \
MANDIR="${D}/usr/share/man/man1" install || die "make install failed"
dodoc CHANGES Encoding.format FAQ NEWS README TODO || die "dodoc failed"
}