blob: 1f592d19dbcb9ba1038ae29a9fddf22f72dab643 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Contact: Pavel Sanda, ps at twin.jikos.cz;
inherit toolchain-funcs
DESCRIPTION="Tool for generating Encapsulated Postscript Format (EPS,EPSF) files from one-page Postscript documents"
HOMEPAGE="http://www.tm.uka.de/~bless/ps2eps"
SRC_URI="http://www.tm.uka.de/~bless/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="dev-lang/perl
virtual/ghostscript"
S=${WORKDIR}/${PN}
src_compile(){
$(tc-getCC) ${CFLAGS} ${LDFLAGS} src/C/bbox.c -o bbox || die "compile failed"
}
src_install() {
dobin bbox bin/ps2eps
doman doc/man/man1/{bbox.1,ps2eps.1}
dodoc README.txt
}
|