mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-02-13 15:32:54 +01:00
gopsuinfo: add recipe
This commit is contained in:
parent
3abb8b5866
commit
fcd8c91362
19
recipes-gtk/nwg-shell/gopsuinfo_git.bb
Normal file
19
recipes-gtk/nwg-shell/gopsuinfo_git.bb
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
SUMMARY = "Go version of the psuinfo python script."
|
||||||
|
LICENSE = "BSD-2-Clause"
|
||||||
|
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=22ed6cb3c33862e689e075b45066a779"
|
||||||
|
|
||||||
|
GO_IMPORT = "github.com/nwg-piotr/gopsuinfo.git"
|
||||||
|
|
||||||
|
SRC_URI = "git://${GO_IMPORT};branch=main"
|
||||||
|
|
||||||
|
SRCREV = "838b4893f48924bb03f5124701754836562d090a"
|
||||||
|
|
||||||
|
inherit go go-mod
|
||||||
|
|
||||||
|
GO_INSTALL = "${GO_IMPORT}"
|
||||||
|
|
||||||
|
do_install:append() {
|
||||||
|
# remove precompiled x86 binary
|
||||||
|
rm -r ${D}${libdir}/go/src/${GO_IMPORT}/bin
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user