Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-0.9.ebuild,v 1.4 2011/12/18 22:23:40 xmw Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-0.9.ebuild,v 1.4 2011/12/18 22:23:40 xmw Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=3 |
6 |
|
6 |
|
7 |
inherit eutils multilib toolchain-funcs |
7 |
inherit eutils multilib toolchain-funcs |
8 |
|
8 |
|
Lines 43-49
Link Here
|
43 |
} |
43 |
} |
44 |
|
44 |
|
45 |
src_install() { |
45 |
src_install() { |
46 |
emake prefix="${D}usr" LIBDIR="${D}usr/$(get_libdir)" \ |
46 |
emake prefix="${ED}usr" LIBDIR="${ED}usr/$(get_libdir)" \ |
47 |
build=debug verbose=true ${my_nox11} install || die |
47 |
build=debug verbose=true ${my_nox11} install || die |
48 |
|
48 |
|
49 |
insinto /usr/$(get_libdir)/pkgconfig |
49 |
insinto /usr/$(get_libdir)/pkgconfig |
Lines 58-64
Link Here
|
58 |
dodoc README || die |
58 |
dodoc README || die |
59 |
|
59 |
|
60 |
# avoid collision with app-text/poppler-utils |
60 |
# avoid collision with app-text/poppler-utils |
61 |
mv "${D}"usr/bin/pdfinfo "${D}"usr/bin/mupdf_pdfinfo || die |
61 |
mv "${ED}"usr/bin/pdfinfo "${ED}"usr/bin/mupdf_pdfinfo || die |
62 |
} |
62 |
} |
63 |
|
63 |
|
64 |
pkg_postinst() { |
64 |
pkg_postinst() { |