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/c2ps/c2ps-4.0.ebuild

28 lines
804 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/c2ps/c2ps-4.0.ebuild,v 1.18 2011/06/05 18:28:24 dilfridge Exp $
EAPI=4
inherit base toolchain-funcs
DESCRIPTION="Generates a beautified ps document from a source file (c/c++)"
HOMEPAGE="http://www.cs.technion.ac.il/users/c2ps"
SRC_URI="http://www.cs.technion.ac.il/users/c2ps/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~mips ppc sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
PATCHES=( "${FILESDIR}/${P}-LDFLAGS.patch" )
src_compile() {
emake CC="$(tc-getCC)" CCFLAGS="${CFLAGS}"
}
src_install() {
dodir /usr/bin /usr/share/man/man1
emake MAN="${ED}"/usr/share/man/man1 PREFIX="${ED}"/usr install
dodoc README
}