blob: ce8b4dfc22973b98394e9a0e26324282b64de1c5 (
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
|
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="LUKSMeta is a simple library for storing metadata in the LUKSv1 header"
HOMEPAGE="https://github.com/latchset/luksmeta"
SRC_URI="https://github.com/latchset/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="sys-fs/cryptsetup"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig
app-text/asciidoc"
src_prepare() {
# Bug https://bugs.gentoo.org/921710
sed -i -e '/^-Werror \\$/d' configure.ac || die
default
eautoreconf
}
src_install() {
default
# Bug https://bugs.gentoo.org/839609
find "${ED}" -name '*.la' -delete || die
}
|