summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/torrentzip/torrentzip-0.2-r2.ebuild')
-rw-r--r--app-arch/torrentzip/torrentzip-0.2-r2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-arch/torrentzip/torrentzip-0.2-r2.ebuild b/app-arch/torrentzip/torrentzip-0.2-r2.ebuild
new file mode 100644
index 00000000000..e3cfa1a7da3
--- /dev/null
+++ b/app-arch/torrentzip/torrentzip-0.2-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils autotools
+
+MY_PN="trrntzip"
+MY_PV="code-9"
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="Advanced archiver to create identical files over multiple systems"
+HOMEPAGE="https://sourceforge.net/projects/trrntzip"
+SRC_URI="http://sourceforge.net/code-snapshots/svn/t/tr/${MY_PN}/code/${MY_P}.zip -> ${P}.zip"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+DEPEND="sys-libs/zlib"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-fix-function-declarations.patch"
+)
+
+src_prepare() {
+ # Source-code from sf.net snapshots has CRLF...
+ EPATCH_OPTS="--binary"
+
+ epatch "${PATCHES[@]}"
+
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ nonfatal dodoc README AUTHORS
+}