summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/detox/ChangeLog10
-rw-r--r--app-misc/detox/detox-1.2.0-r1.ebuild38
-rw-r--r--app-misc/detox/metadata.xml1
3 files changed, 46 insertions, 3 deletions
diff --git a/app-misc/detox/ChangeLog b/app-misc/detox/ChangeLog
index f0a0e2f32066..a00b1d0ae55a 100644
--- a/app-misc/detox/ChangeLog
+++ b/app-misc/detox/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/detox
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/detox/ChangeLog,v 1.26 2011/01/04 17:53:51 jlec Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/detox/ChangeLog,v 1.27 2012/02/15 18:41:43 jlec Exp $
+
+*detox-1.2.0-r1 (15 Feb 2012)
+
+ 15 Feb 2012; Justin Lecher <jlec@gentoo.org> +detox-1.2.0-r1.ebuild,
+ metadata.xml:
+ Moved to EAPI=4, add ~linux keywords tested by me
04 Jan 2011; Justin Lecher <jlec@gentoo.org> detox-1.2.0.ebuild:
Some Clean up
diff --git a/app-misc/detox/detox-1.2.0-r1.ebuild b/app-misc/detox/detox-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..5afd0de1a617
--- /dev/null
+++ b/app-misc/detox/detox-1.2.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/detox/detox-1.2.0-r1.ebuild,v 1.1 2012/02/15 18:41:43 jlec Exp $
+
+EAPI=4
+
+inherit eutils
+
+MY_P="${PN}-${PV/_/-}"
+
+DESCRIPTION="Safely remove spaces and strange characters from filenames"
+HOMEPAGE="http://detox.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${WORKDIR}"/${MY_P}
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ sys-devel/bison"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-parallel.patch \
+ "${FILESDIR}"/${P}-LDFLAGS.patch
+ sed \
+ -e '/detoxrc.sample/d' \
+ -i Makefile.in || die
+}
+
+src_configure() {
+ econf --with-popt="${EPREFIX}/usr"
+}
diff --git a/app-misc/detox/metadata.xml b/app-misc/detox/metadata.xml
index 69ce787c4459..40149c995561 100644
--- a/app-misc/detox/metadata.xml
+++ b/app-misc/detox/metadata.xml
@@ -3,4 +3,3 @@
<pkgmetadata>
<herd>shell-tools</herd>
</pkgmetadata>
-