blob: abc69840e5ad5d712b1dcee016028583a0c6f16a (
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
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Safely remove spaces and strange characters from filenames"
HOMEPAGE="https://github.com/dharple/detox"
SRC_URI="https://github.com/dharple/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~hppa ~mips ppc ~riscv x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
app-alternatives/yacc
app-alternatives/lex
virtual/pkgconfig
test? ( >=dev-libs/check-0.10.0 )
"
PATCHES=(
"${FILESDIR}"/${PN}-3.0.1-fix-flags.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf $(use_with test check)
}
|