From 4ee346b3979f6e562f3e6b2bf94858867f81c144 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 14 Oct 2021 10:38:47 +0100 Subject: app-misc/detox: install detoxrc Closes: https://bugs.gentoo.org/811945 Signed-off-by: Sam James --- app-misc/detox/detox-1.4.2-r1.ebuild | 44 ++++++++++++++++++++++++++++++++++++ app-misc/detox/detox-1.4.2.ebuild | 42 ---------------------------------- app-misc/detox/detox-1.4.5-r1.ebuild | 40 ++++++++++++++++++++++++++++++++ app-misc/detox/detox-1.4.5.ebuild | 38 ------------------------------- 4 files changed, 84 insertions(+), 80 deletions(-) create mode 100644 app-misc/detox/detox-1.4.2-r1.ebuild delete mode 100644 app-misc/detox/detox-1.4.2.ebuild create mode 100644 app-misc/detox/detox-1.4.5-r1.ebuild delete mode 100644 app-misc/detox/detox-1.4.5.ebuild (limited to 'app-misc') diff --git a/app-misc/detox/detox-1.4.2-r1.ebuild b/app-misc/detox/detox-1.4.2-r1.ebuild new file mode 100644 index 000000000000..549e71fe960c --- /dev/null +++ b/app-misc/detox/detox-1.4.2-r1.ebuild @@ -0,0 +1,44 @@ +# 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 + + # bug #811945 + insinto /etc + newins etc/detoxrc.sample detoxrc +} diff --git a/app-misc/detox/detox-1.4.2.ebuild b/app-misc/detox/detox-1.4.2.ebuild deleted file mode 100644 index d168fe1e4e09..000000000000 --- a/app-misc/detox/detox-1.4.2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# 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 -} diff --git a/app-misc/detox/detox-1.4.5-r1.ebuild b/app-misc/detox/detox-1.4.5-r1.ebuild new file mode 100644 index 000000000000..d04bce3cb5cf --- /dev/null +++ b/app-misc/detox/detox-1.4.5-r1.ebuild @@ -0,0 +1,40 @@ +# 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" +S="${WORKDIR}"/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~hppa ~mips ppc x86 ~amd64-linux ~x86-linux" + +RDEPEND="!dev-python/detox" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/bison + sys-devel/flex" + +src_prepare() { + default + + sed \ + -e '/detoxrc.sample/d' \ + -i Makefile.am || die + + eautoreconf +} + +src_install() { + default + + # bug #811945 + insinto /etc + newins etc/detoxrc.sample detoxrc +} diff --git a/app-misc/detox/detox-1.4.5.ebuild b/app-misc/detox/detox-1.4.5.ebuild deleted file mode 100644 index 14a57b781c02..000000000000 --- a/app-misc/detox/detox-1.4.5.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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" -S="${WORKDIR}"/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa ~mips ppc x86 ~amd64-linux ~x86-linux" - -RDEPEND="!dev-python/detox" -DEPEND="${RDEPEND}" -BDEPEND="sys-devel/bison - sys-devel/flex" - -src_prepare() { - default - - sed \ - -e '/detoxrc.sample/d' \ - -i Makefile.am || die - - eautoreconf -} - -src_install() { - default - - dodoc etc/${PN}rc.sample -} -- cgit v1.2.3-65-gdbad