# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/llpp/llpp-15.ebuild,v 1.8 2013/07/13 23:16:59 xmw Exp $ EAPI=5 inherit eutils multilib toolchain-funcs vcs-snapshot DESCRIPTION="a graphical PDF viewer which aims to superficially resemble less(1)" HOMEPAGE="http://repo.or.cz/w/llpp.git" SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="+ocamlopt static" LIB_DEPEND=">=app-text/mupdf-1.2:=[static-libs] &2 ; "$@" || die ; } verbose ocaml str.cma keystoml.ml < KEYS > help.ml verbose printf 'let version ="%s";;\n' ${PV} >> help.ml verbose ${ocaml} -c -o link.o -ccopt "${ccopt}" link.c verbose ${ocaml} -c -o help.${cmo} help.ml verbose ${ocaml} -c -o utils.${cmo} utils.ml verbose ${ocaml} -c -o wsi.cmi wsi.mli verbose ${ocaml} -c -o wsi.${cmo} wsi.ml verbose ${ocaml} -c -o parser.${cmo} parser.ml verbose ${ocaml} -c -o main.${cmo} -I +lablGL main.ml verbose ${ocaml} $(usex ocamlopt "" -custom) -o llpp -I +lablGL\ str.${cma} unix.${cma} lablgl.${cma} link.o \ -cclib "${cclib}" \ help.${cmo} utils.${cmo} parser.${cmo} wsi.${cmo} main.${cmo} } src_install() { dobin ${PN} dodoc KEYS README Thanks fixme }