blob: 81b8f8efe465461fad782ca28e568b50b1340561 (
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
34
35
36
37
38
39
40
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs
DESCRIPTION="Delta-Update - patch system for updating source-archives."
HOMEPAGE="http://deltup.sourceforge.net"
SRC_URI="https://github.com/jjwhitney/Deltup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
MY_PN="Deltup"
S="${WORKDIR}/${MY_PN}-${PV}/src"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
DEPEND="
sys-libs/zlib
app-arch/bzip2
dev-libs/openssl:0=
"
RDEPEND="${DEPEND}
|| ( dev-util/bdelta =dev-util/xdelta-1* )"
PATCHES=(
"${FILESDIR}"/${PN}-0.4.6-ldflags.patch
"${FILESDIR}"/${PN}-0.4.6-cxx.patch
)
src_compile() {
emake CXX=$(tc-getCXX)
}
src_install() {
emake DESTDIR="${D}" PREFIX=/usr install
dodoc "${S}"/../{README,ChangeLog}
doman "${S}"/../deltup.1
}
|