mirror of
https://git.proxmox.com/git/fwupd
synced 2026-03-24 10:54:21 +00:00
They can be built one of three ways: * Through Travis CI (Add to the OS matrix) * Through build.snapcraft.io * Locally (snapcraft cleanbuild)
13 lines
756 B
Makefile
13 lines
756 B
Makefile
export TRIPLET=$(shell gcc -dumpmachine)
|
|
|
|
build:
|
|
true
|
|
|
|
install:
|
|
sed -i 's!libdir=\(.*\)!libdir=${SNAPCRAFT_STAGE}\1!' ${SNAPCRAFT_STAGE}/usr/lib/${TRIPLET}/pkgconfig/efiboot.pc
|
|
sed -i 's!includedir=\(.*\)!includedir=${SNAPCRAFT_STAGE}\1!' ${SNAPCRAFT_STAGE}/usr/lib/${TRIPLET}/pkgconfig/efiboot.pc
|
|
sed -i 's!Cflags:\(.*\)!Cflags:\1 -L$$\{libdir\}!' ${SNAPCRAFT_STAGE}/usr/lib/${TRIPLET}/pkgconfig/efiboot.pc
|
|
sed -i 's!libdir=\(.*\)!libdir=${SNAPCRAFT_STAGE}\1!' ${SNAPCRAFT_STAGE}/usr/lib/${TRIPLET}/pkgconfig/efivar.pc
|
|
sed -i 's!includedir=\(.*\)!includedir=${SNAPCRAFT_STAGE}\1!' ${SNAPCRAFT_STAGE}/usr/lib/${TRIPLET}/pkgconfig/efivar.pc
|
|
sed -i 's!Cflags:\(.*\)!Cflags:\1 -L$$\{libdir\}!' ${SNAPCRAFT_STAGE}/usr/lib/${TRIPLET}/pkgconfig/efivar.pc
|