Skip to content

Commit 441b070

Browse files
committed
add core::sysvinit v3.17
1 parent 4fd918d commit 441b070

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

recipes/core/sysvinit.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
inherit: [make, cpackage, install]
2+
3+
metaEnvironment:
4+
PKG_LICENSE: "GPL-2.0-or-later"
5+
PKG_VERSION: "3.17"
6+
7+
checkoutSCM:
8+
scm: url
9+
url: https://codeberg.org/thejessesmith/sysvinit/releases/download/${PKG_VERSION}/sysvinit-${PKG_VERSION}.tar.xz
10+
digestSHA256: 897961b2c50a56c202b7b70386b2074df04ab652390e6ee9aeae5a1176fc41f0
11+
stripComponents: 1
12+
13+
depends:
14+
- libs::libxcrypt-dev
15+
- use: []
16+
depends:
17+
- libs::libxcrypt-tgt
18+
19+
buildVars: [CC, AR]
20+
buildTools: [target-toolchain]
21+
buildSetup: |
22+
export CFLAGS="${CFLAGS:-} $CPPFLAGS"
23+
buildScript: |
24+
mkdir -p build
25+
rsync -a --delete $1/ build/
26+
pushd build
27+
makeParallel -C $(pwd)/src
28+
make -C $(pwd)/src DESTDIR=$(pwd)/../install install
29+
30+
provideDeps: ['*-tgt']
31+
packageScript: installPackageTgt $1/install/

tests/buildall/recipes/all.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ depends:
77
- core::dbus-tgt
88
- core::eudev-tgt
99
- core::hwdata
10+
- core::sysvinit
1011
- core::tz-data
1112
- core::tz-zic
1213

0 commit comments

Comments
 (0)