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/pdfsandwich/pdfsandwich-0.0.6.ebuild

29 lines
739 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pdfsandwich/pdfsandwich-0.0.6.ebuild,v 1.1 2012/10/10 18:39:04 tomka Exp $
EAPI=4
DESCRIPTION="generator of sandwich OCR pdf files"
HOMEPAGE="http://www.tobias-elze.de/pdfsandwich"
SRC_URI="mirror://sourceforge/pdfsandwich/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""
RDEPEND=">=app-text/tesseract-3.00
media-gfx/exact-image
app-text/ghostscript-gpl"
DEPEND="sys-apps/gawk
>=dev-lang/ocaml-3.10[ocamlopt]"
src_prepare() {
sed -i "/^OCAMLOPTFLAGS/s/$/ -ccopt \"\$(CFLAGS) \$(LDFLAGS)\"/" Makefile || die
}
src_install() {
emake DESTDIR="${D}" install
}