blob: f4fb055b98c6d98a906a7c3b5362a578012c8da8 (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools multilib-minimal
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://code.videolan.org/videolan/${PN}.git"
inherit git-r3
else
SRC_URI="https://code.videolan.org/videolan/libudfread/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
DESCRIPTION="Library for reading UDF from raw devices and image files"
HOMEPAGE="https://code.videolan.org/videolan/libudfread/"
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="static-libs"
src_prepare() {
default
eautoreconf
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf
}
multilib_src_install_all() {
find "${D}" -name '*.la' -delete || die
if ! use static-libs ; then
find "${D}" -name '*.a' -delete || die
fi
}
|