diff options
Diffstat (limited to 'app-text/unpaper/unpaper-5.1.ebuild')
-rw-r--r-- | app-text/unpaper/unpaper-5.1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-text/unpaper/unpaper-5.1.ebuild b/app-text/unpaper/unpaper-5.1.ebuild new file mode 100644 index 000000000000..945ae6370e42 --- /dev/null +++ b/app-text/unpaper/unpaper-5.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/Flameeyes/unpaper.git" + inherit git-2 autotools +else + SRC_URI="https://www.flameeyes.eu/files/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Post-processor for scanned and photocopied book pages" +HOMEPAGE="https://www.flameeyes.eu/projects/unpaper" + +LICENSE="GPL-2" + +SLOT="0" +IUSE="test" + +DEPEND="test? ( media-libs/netpbm[png] ) + dev-libs/libxslt + app-text/docbook-xsl-ns-stylesheets" +RDEPEND="" + +if [[ ${PV} == 9999 ]]; then + src_prepare() { + eautoreconf + } +fi + +src_configure() { + econf \ + --docdir=/usr/share/doc/${PF} \ + --htmldir=/usr/share/doc/${PF}/html +} |