mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
c2ff77c998
- pass DESTDIR rather than overload PREFIX. Supported since 2014: https://github.com/AGWA/git-crypt/commit/73bf395b3b3c52b6009a94b8e1d4af90f1cd05b8 While we are at it, handle Prefix. It is totally trivial. - remove very outdated dodir entirely. Since 2015, the Makefile creates directories as needed! https://github.com/AGWA/git-crypt/commit/ede1461563709498d397d8230d233c3d9a25880e Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
35 lines
720 B
Bash
35 lines
720 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit flag-o-matic toolchain-funcs
|
|
|
|
DESCRIPTION="Transparent file encryption in git"
|
|
HOMEPAGE="https://www.agwa.name/projects/git-crypt/"
|
|
SRC_URI="https://www.agwa.name/projects/git-crypt/downloads/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~x86"
|
|
|
|
RDEPEND="
|
|
dev-libs/openssl:=
|
|
dev-vcs/git
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="dev-libs/libxslt"
|
|
|
|
src_configure() {
|
|
# bug #805545, https://github.com/AGWA/git-crypt/issues/232
|
|
append-cppflags -DOPENSSL_API_COMPAT=10101
|
|
tc-export CXX
|
|
|
|
# bug #689180
|
|
export ENABLE_MAN=yes
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
|
}
|