1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="A small and lightweight parser library for ATA S.M.A.R.T. hard disks"
11 HOMEPAGE="http://0pointer.de/blog/projects/being-smart.html"
12 SRC_URI="http://0pointer.de/public/${P}.tar.xz
13 mirror://debian/pool/main/liba/${PN}/${PN}_${PV}-${PATCH_LEVEL}.debian.tar.gz"
17 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86"
20 RDEPEND="virtual/udev"
27 # https://bugs.gentoo.org/470874
28 local d="${WORKDIR}"/debian/patches
29 sed -i -e '/#/d' "${d}"/series || die
30 EPATCH_SOURCE="${d}" epatch $(<"${d}"/series)
35 --docdir=/usr/share/doc/${PF} \
36 $(use_enable static-libs static)
41 prune_libtool_files --all