mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
gummiboot update
This commit is contained in:
parent
ed104169cd
commit
a2076c10d8
@ -7,17 +7,18 @@ EAPI=5
|
||||
DESCRIPTION="Simple UEFI Boot Manager"
|
||||
HOMEPAGE="http://freedesktop.org/wiki/Software/gummiboot"
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/gummiboot"
|
||||
inherit toolchain-funcs autotools git-2
|
||||
inherit toolchain-funcs autotools
|
||||
#git-r3
|
||||
|
||||
SRC_URI="http://cgit.freedesktop.org/gummiboot/snapshot/${PN}-${PV}.tar.gz"
|
||||
LICENSE="LGPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-boot/gnu-efi-3.0u"
|
||||
|
||||
RDEPEND=">=sys-boot/gnu-efi-3.0s"
|
||||
|
||||
DEPEND=">=sys-boot/gnu-efi-3.0s"
|
||||
DEPEND=">=sys-boot/gnu-efi-3.0u"
|
||||
|
||||
pkg_setup(){
|
||||
local iarch
|
||||
@ -27,22 +28,12 @@ pkg_setup(){
|
||||
amd64) iarch=x86_64 ;;
|
||||
*) die "unknown architecture: $ARCH" ;;
|
||||
esac
|
||||
|
||||
}
|
||||
|
||||
src_prepare(){
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
make || \
|
||||
ld -T /usr/lib64/elf_x86_64_efi.lds -shared -Bsymbolic \
|
||||
-nostdlib -znocombreloc -L /usr/lib64 /usr/lib64/crt0-efi-x86_64.o \
|
||||
./src/efi/gummiboot.o -o src/efi/gummiboot.so -lefi -lgnuefi \
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/libgcc.a
|
||||
MAKEOPTS=-j1 emake -j1
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
einfo "To use ${PN}, excute"
|
||||
einfo "gummiboot --path \"path to ESP(Efi system partition)\" install "
|
Loading…
x
Reference in New Issue
Block a user