blob: f1635ee3be2a3548315bbf25351474a985096a26 (
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
41
42
43
44
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools toolchain-funcs
DESCRIPTION="Small and lightweight parser library for ATA S.M.A.R.T. hard disks"
HOMEPAGE="https://salsa.debian.org/utopia-team/libatasmart"
SRC_URI="
mirror://debian/pool/main/liba/${PN}/${PN}_${PV/_p*}.orig.tar.xz
mirror://debian/pool/main/liba/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
"
S="${WORKDIR}/${P/_p*}"
LICENSE="LGPL-2.1+"
SLOT="0/4"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
RDEPEND="virtual/libudev:="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
# bug #470874
PATCHES=(
$(sed -e 's:^:../debian/patches/:' "${WORKDIR}"/debian/patches/series || die)
"${FILESDIR}"/${PN}-0.19_p5_do-not-fortify-source.patch
)
default
eautoreconf
}
src_compile() {
tc-export_build_env
emake
}
src_install() {
default
find "${ED}" -type f -name "*.la" -delete || die
}
|