blob: 7c989c0bfd40a685427cb9025e4bc5d461012e1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/unpaper/unpaper-0.4.ebuild,v 1.3 2011/10/10 12:05:07 scarabeus Exp $
EAPI=4
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="git://github.com/Flameeyes/unpaper.git"
inherit git-2 autotools
else
SRC_URI="http://www.flameeyes.eu/files/${P}.tar.xz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Post-processor for scanned and photocopied book pages"
HOMEPAGE="http://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
}
src_test() {
emake check
}
|