| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/zathura-pdf-poppler/zathura-pdf-poppler-0.2.0.ebuild,v 1.3 2012/07/11 05:53:57 jdhore Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
inherit toolchain-funcs |
| 7 |
|
| 8 |
DESCRIPTION="PDF plug-in for zathura" |
| 9 |
HOMEPAGE="http://pwmt.org/projects/zathura/" |
| 10 |
SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz" |
| 11 |
|
| 12 |
LICENSE="ZLIB" |
| 13 |
SLOT="0" |
| 14 |
KEYWORDS="amd64 x86" |
| 15 |
IUSE="" |
| 16 |
|
| 17 |
RDEPEND="app-text/poppler[cairo] |
| 18 |
>=app-text/zathura-0.2.0 |
| 19 |
>=dev-libs/girara-0.1.3:2" |
| 20 |
DEPEND="${RDEPEND} |
| 21 |
virtual/pkgconfig" |
| 22 |
|
| 23 |
pkg_setup() { |
| 24 |
myzathuraconf=( |
| 25 |
CC="$(tc-getCC)" |
| 26 |
LD="$(tc-getLD)" |
| 27 |
VERBOSE=1 |
| 28 |
DESTDIR="${D}" |
| 29 |
) |
| 30 |
} |
| 31 |
|
| 32 |
src_compile() { |
| 33 |
emake "${myzathuraconf[@]}" |
| 34 |
} |
| 35 |
|
| 36 |
src_install() { |
| 37 |
emake "${myzathuraconf[@]}" install |
| 38 |
dodoc AUTHORS |
| 39 |
} |