Skip to content

Commit a6b0606

Browse files
committed
add utils::dmidecode v3.7
1 parent ef55a30 commit a6b0606

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

recipes/utils/dmidecode.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
inherit: [cpackage, make, install]
2+
3+
metaEnvironment:
4+
PKG_VERSION: "3.7"
5+
PKG_LICENSE: "GPL-2.0-or-later"
6+
7+
checkoutSCM:
8+
scm: url
9+
url: "https://download.savannah.gnu.org/releases/dmidecode/dmidecode-${PKG_VERSION}.tar.xz"
10+
digestSHA256: 2c3aed12c85a1e6a9410d406d5e417c455466dc1bc7c89278bb32cf7cad91e8a
11+
stripComponents: 1
12+
13+
buildVars: [CC]
14+
buildScript: |
15+
mkdir -p __src__
16+
rsync -a --delete $1/ __src__
17+
pushd __src__
18+
makeParallel prefix=/usr
19+
make install DESTDIR=$(pwd)/../install/ prefix=/usr
20+
popd
21+
22+
packageScript: |
23+
installPackageTgt $1/install/

tests/buildall/recipes/all.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ depends:
175175
- utils::brtools
176176
- utils::cpio
177177
- utils::cryptsetup
178+
- utils::dmidecode
178179
- utils::dosfstools
179180
- utils::e2fsprogs
180181
- utils::evtest

0 commit comments

Comments
 (0)