summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-11 06:38:22 +0000
committerSam James <sam@gentoo.org>2021-06-11 06:38:22 +0000
commit22c9545f646c8230ecc39415fdc876b7d7eb8a9a (patch)
treec544907c06441e22a483fa43450fa25315e75e75 /app-misc/detox/detox-1.4.2.ebuild
parentdev-libs/nanomsg: drop static-libs (diff)
downloadgentoo-22c9545f646c8230ecc39415fdc876b7d7eb8a9a.tar.gz
gentoo-22c9545f646c8230ecc39415fdc876b7d7eb8a9a.tar.bz2
gentoo-22c9545f646c8230ecc39415fdc876b7d7eb8a9a.zip
app-misc/detox: add 1.4.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/detox/detox-1.4.2.ebuild')
-rw-r--r--app-misc/detox/detox-1.4.2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/detox/detox-1.4.2.ebuild b/app-misc/detox/detox-1.4.2.ebuild
new file mode 100644
index 000000000000..7a6a540e4cee
--- /dev/null
+++ b/app-misc/detox/detox-1.4.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+MY_P="${PN}-${PV/_/-}"
+
+DESCRIPTION="Safely remove spaces and strange characters from filenames"
+HOMEPAGE="http://detox.sourceforge.net/ 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 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${WORKDIR}"/${MY_P}
+
+RDEPEND="
+ !dev-python/detox"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+ sys-devel/flex
+ sys-devel/bison
+"
+
+src_prepare() {
+ default
+ sed \
+ -e '/detoxrc.sample/d' \
+ -i Makefile.am || die
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ dodoc etc/${PN}rc.sample
+}