You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-arch/torrentzip/torrentzip-0.2-r2.ebuild

43 lines
826 B

# 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
}