aboutsummaryrefslogtreecommitdiff
blob: f03defb046c226f98404b1ec8f359f4ca914edd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

src_configure() {
	local myconf=(
		--disable-nls
		--enable-static
		CC_FOR_BUILD="$(tc-getBUILD_CC)"
	)

	gkconf "${myconf[@]}"
}

src_install() {
	default

	rm -rf \
		"${D}"/usr/bin/gpg-error \
		"${D}"/usr/bin/gpg-error-config \
		"${D}"/usr/bin/gpgrt-config \
		"${D}"/usr/bin/yat2m \
		"${D}"/usr/share
}