summaryrefslogtreecommitdiff
blob: 376bb43a0938cd1b788bc5a5efd7ff7b9a1d3ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="6"

inherit eutils autotools

DESCRIPTION="Create identical zip archives over multiple systems"
HOMEPAGE="https://sourceforge.net/projects/trrntzip"

MY_PN="trrntzip"
MY_P="${MY_PN}_v${PV/.}"

SRC_URI="mirror://sourceforge/trrntzip/${MY_P}_src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="sys-libs/zlib"
RDEPEND="$DEPEND"

S="${WORKDIR}/${MY_PN}"
DOCS=(README AUTHORS)
PATCHES=("${FILESDIR}/${P}-fix-perms.patch")

src_prepare() {
	default

	export CPPFLAGS+=" -DOF\\(args\\)=args"

	eautoreconf
}