blob: 1841b2ec22e34aa66082f88507a1756e57bf1d38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
src_configure() {
local uname=$(/usr/share/gnuconfig/config.sub "${CHOST}" | cut -d- -f3)
local myargs=(
"${S}"/configure
--shared
--prefix="/usr"
${uname:+--uname=${uname}}
)
gkexec "${myargs[*]}"
}
src_install() {
gkmake V=1 DESTDIR="${D}" install LDCONFIG=:
rm -rf "${D}"/usr/share
}
|