blob: 1af7748bfda13c74cc990fb7984a8f0c99d1fc40 (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Comprehensive filesystem mirroring program"
HOMEPAGE="https://apollo.backplane.com/FreeSrc/"
SRC_URI="https://apollo.backplane.com/FreeSrc/${P}.tgz"
S="${WORKDIR}/${PN}"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-libs/libbsd:="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-makefile.patch
"${FILESDIR}"/${P}-portable.patch
)
src_prepare() {
default
rm compat_linux.c || die
}
src_configure() {
tc-export CC PKG_CONFIG
}
src_install() {
dobin cpdup
doman cpdup.1
dodoc -r scripts
}
|