We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ae2af8 + c506e4d commit 6284455Copy full SHA for 6284455
recipes/net/iproute2.yaml
@@ -0,0 +1,34 @@
1
+inherit: [cpackage, make, install]
2
+
3
+metaEnvironment:
4
+ PKG_VERSION: "6.13.0"
5
+ PKG_LICENSE: "GPL-2.0+"
6
7
+checkoutSCM:
8
+ scm: url
9
+ url: ${KERNEL_MIRROR}/linux/utils/net/iproute2/iproute2-${PKG_VERSION}.tar.xz
10
+ digestSHA256: "a43aa43338d882b44d01e549f3f105a92ae9feea32a82fae45a88e7a49302819"
11
+ stripComponents: 1
12
13
+buildVars: [CC, AR]
14
+buildTools: [host-toolchain, bison, flex, m4]
15
+buildScript: |
16
+ cp -a $1/ build/
17
18
+ pushd build
19
+ ./configure
20
21
+ makeParallel \
22
+ CC="$CC" \
23
+ HOSTCC="gcc" \
24
+ SHARED_LIBS=$([[ $(cpackageLibraryType) == static ]] && echo n || echo y) \
25
+ all
26
27
28
+ DESTDIR=$BOB_CWD/install \
29
+ install
30
31
+ popd
32
33
+packageScript: |
34
+ installPackageBin "$1/install/"
0 commit comments