mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* add cbfstool
* Update dependancies
* fix files part and version variable
* fix typo
* fix build step
* Add git dep
* Finished package
(cherry picked from commit 6ed310e12e)
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "cbfstool.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
Name: cbfstool
|
||||
Version: 24.08
|
||||
Release: 1%?dist
|
||||
Summary: Management utility for CBFS formatted ROM images
|
||||
URL: https://doc.coreboot.org/lib/fw_config.html#cbfs
|
||||
License: GPLv2
|
||||
BuildRequires: gcc g++ gcc-gnat make cmake ncurses-devel iasl git
|
||||
Requires: glibc
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
%description
|
||||
Management utility for CBFS formatted ROM images.
|
||||
|
||||
%prep
|
||||
git clone https://review.coreboot.org/coreboot.git -b %version
|
||||
|
||||
%build
|
||||
make -C coreboot/util/cbfstool
|
||||
|
||||
%install
|
||||
install -Dm 777 coreboot/util/cbfstool/cbfstool %buildroot%_bindir/cbfstool
|
||||
|
||||
%files
|
||||
/usr/bin/cbfstool
|
||||
|
||||
%changelog
|
||||
* Sun Aug 25 2024 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Initial Package
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("coreboot/coreboot"));
|
||||
Reference in New Issue
Block a user