|
|
# Distributed under the terms of the GNU General Public License v2 | # 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.14 2008/01/20 16:02:45 grobian Exp $ | # $Header: /var/cvsroot/gentoo-x86/app-text/c2ps/c2ps-4.0.ebuild,v 1.14 2008/01/20 16:02:45 grobian Exp $ |
| |
|
inherit toolchain-funcs |
|
|
DESCRIPTION="Generates a beautified ps document from a source file (c/c++)" | DESCRIPTION="Generates a beautified ps document from a source file (c/c++)" |
HOMEPAGE="http://www.cs.technion.ac.il/users/c2ps" | HOMEPAGE="http://www.cs.technion.ac.il/users/c2ps" |
SRC_URI="http://www.cs.technion.ac.il/users/c2ps/${P}.tar.gz" | SRC_URI="http://www.cs.technion.ac.il/users/c2ps/${P}.tar.gz" |
|
|
IUSE="" | IUSE="" |
| |
src_compile() { | src_compile() { |
emake || die |
emake CC="$(tc-getCC)" CCFLAGS="${CFLAGS}" || die |
} | } |
| |
src_install() { | src_install() { |
dodir /usr/bin /usr/man/man1 |
dodir /usr/bin /usr/share/man/man1 |
make PREFIX="${D}"/usr install || die |
emake MAN="${D}"/usr/share/man/man1 PREFIX="${D}"/usr install || die |
dodoc COPYING README |
dodoc README |
} | } |